Tag Archives: jquery

Hide Dropdown list when clicking outside

If you are working on menu creation or anything interactive and your need is to automatically close drop-down as soon as you click anywhere on your page, you can achieve the same by using below code via jQuery: Please share …

Read more »

learn jQuery in single move

Please refer following PPT to learn jQuery in single move. The Magic Of JQUERY By Anoop _ Revised Let me know if any ?’s

Number Validation on text field in jquery/javascript

If you want client side validation on the text field to accept only numbers, then you can use the below function : The above function return true if number is entered, else false. Call this function on keypress() event as …

Read more »

Dimensions in jQuery

If you want to play with an element using jQuery, Your requirement is to measure dimension of the same. You can refer following example: If you have any questions, Please feel free to ask. — Anoop kumar sharma

css manipulation in jQuery

if you want to set style of an element(s), you can refer following example for your reference: Queries are most welcome. — Anoop kumar sharma

Setting attributes of an element in jQuery

To set single/multiple attributes of an element in jQuery, refer following snippet: For any query. Reach me. — Anoop kumar Sharma

Delete or remove an element in jQuery

To delete an element from dom, you need to choose any one of following whichever suites your purpose better: ?’s, let me know. — Anoop Kumar Sharma

Select dropdown with fixed width cutting off content in IE

I did Google about this issue but didn’t find any best solution, so I created a solution based on JQuery that works fine in all browsers. just call badFixSelectBoxDataWidthIE() function on page load.

Introduction to jQuery

Hello All, I would like to share my experiences on “jQuery“, A well-known javascript API. Going Forward, I want you all to raise your queries and problems on jQuery. I promise to get them resolved ASAP. For getting started, please …

Read more »