What is selector ?

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

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");
</script>


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


Asked In: While Learning | Alert Moderator 

Comments or Responses

Login to post response