jQuery and JSON Flashcards
1
Q
What are Selectors?
A
A way to locate any type of HTML element in an HTML page
2
Q
What are the type of Selectors?
A
Selecting Nodes by Tag Name $(‘p’) or $(‘a’) or $(‘table tr’)
Selecting Nodes by ID $(‘#myID’)
Selecting Nodes by Class Name $(‘.myClass, .yourClass’)
Selecting Nodes by Attribute Value $(‘a[title=”Programming Info”]’)
Selecting Input Nodes $(‘:input[type=”radio”]’)
Additional Selector Features $(‘div:contains(“pluralsight”)’)
3
Q
What is AJAX?
A
(Asynchronous JavaScript and XML)
Allows parts of a page to be updated
Cross-Browser Support