InterviewSolution
Saved Bookmarks
| 1. |
Can We Select A Element Having A Specific Class In Jquery ? |
|
Answer» Yes, we can select an element with a SPECIFIC class, we use the class selector.The class NAME MUST contain the prefix as "." (dot). <script language="javascript" TYPE="text/javascript"> $(".class1").css("BORDER", "2px solid red"); </script>Yes, we can select an element with a specific class, we use the class selector.The class name must contain the prefix as "." (dot). |
|