Questions : 1 | What is jQuery ? |
Answers : 1 | It's very simple but most valuable Question on jQuery means jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, animating, event handling, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript. Jquery is build library for javascript no need to write your own functions or script jquery all ready done for you |
Questions : 2 | How you will use Jquery means requirement needed for using jquery |
Answers : 2 | Nothing more need to do just olny download jquery library(.js file) from any of the jquery site Download jquery and just linked with your html pages like all other javascript file like below :< script src="jquery.js" language="javascript" type="text/javascript"> |
Questions : 3 | what the use of $ symbol in Jquery |
Answers : 3 | $ Symbol is just replacement of jquery means at the place of $ you may use jquery hence $ symbol is used for indication that this line used for jquery |
Questions : 4 | How do you select an item using css class or ID and get the value by use of jquery |
Answers : 4 | If an element of html like < div> , < p> or any tag have ID MyId and class used MyClass then we select the element by below jquery code $('#MyId') for ID and for classs $('.MyClass') and for value var myValue = $('#MyId').val(); // get the value in var Myvalue by id Or for set the value in selected item $('#MyId').val("print me"); // set the value of a form input |
Wednesday, August 10, 2011
jQuery Interview Questions And Answers
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment