What is selector ?

 Posted by Vivek.Ramapuram on 9/4/2014 | Category: jQuery Interview questions | Views: 1528 | Points: 40

To find the html element in jQuery we use selectors... and
to work with an element on the web page, first we need to find them for this purpose we
use selectors in Jquery

For Example :

<script language="javascript" type="text/javascript">
$("*").css("border", "2px solid brown");

here in the above code ("*") stare is called selector

Asked In: While Learning | Alert Moderator 

Comments or Responses

Login to post response