Mostly used and essential jQuery code examples
The advantage of having ready made code examples is that they will save your valuable time.I have prepared a list of common and mostly used jQuery code snippets/example which can be used in any project. These examples are small but yet powerful and essential. I suggest you to bookmark this page and support us by clicking the Google +1 button (Just below the article title).
- Hide all elements of HTML form using jQuery
- Disable/Enable an element using jQuery
- How to get HTML of any control using jQuery
- How to set HTML of any control using jQuery
- How to Check element exists or not in jQuery
- How to Disable right click using jQuery
- How to get mouse cursor position
- Find which mouse button clicked using jQuery
- Disable-Enable all controls of page using jQuery
- Enable/Disable all text boxes using jQuery
- Make readonly textbox using Jquery
- Split function in jQuery
- Using trim() function in jQuery
- Detect Browsers using jQuery
- Get ASP.NET Dropdown selected value and text using jQuery
- Set Max Length for ASP.NET MultiLine Textbox using jQuery
- jQuery Code: Change text to Uppercase
- How to scroll to the bottom of a textarea using jQuery
- Disable Cut, Copy and Paste function for textbox using jQuery
- Validate Date of Birth is not greater than current date using jQuery
- How to Zoom an image using jQuery
- How to Zoom image on mouseover using jQuery
- How to zoom element text on Mouseover using jQuery
- jQuery code to allow only numbers in textbox
- jQuery code to allow numbers and arrow keys in textbox
- jQuery code to allow numbers, alphabets or specific characters
- Determine which key was pressed using jQuery
- How to Disable Spacebar in text box using jQuery
- Useful jQuery code examples for ASP.NET Controls
- jQuery to Retrieve Server's current date and time with ASP.NET
- Validate email address using jQuery
- How to Set focus on First textbox of page using jQuery
- Get total count of textboxes using jQuery
- How to set focus on next textbox on Enter Key using jQuery
- How to Replace All Text On Page using jQuery
- How to put link on image using jQuery
- Check/Uncheck All Checkboxes with JQuery
- Highlight row on mouseover in GridView using jQuery
- Formatting ASP.NET GridView using jQuery
Don't forget to read Mostly asked jQuery interview questions list.
Feel free to contact me for any help related to jQuery, I will gladly help you.