Search Results
There are 2 item(s) tagged with the keyword "jQuery14".
- Displaying: 1 - 2 of 2
- 1. New method Passing Attributes to jQuery 14
Hello Friends, jQuery supports adding attributes to collection of elements with Attr function. Previously if we wanted to add stylesheet then we had to apply CSS function similar to event handling. But jQuery 1.4 introduced new method for adding attributes, stylesheet, event handling , etc. There is no need to add attr, css, bind or etc function for handling the element. We can write directly with element. We can use old method also. Please refer below example for better understanding. ...
- By Bharat Patel
- 2. jQuery new event! focusin and focusout
Hello Friends,
To delegate the "focus" and "blur" events you must use these new events, called "focusin" and "focusout". You can also use old events for handling focusing events in jQuery 14.
Syntax
jQuery(element).focusin(handler); jQuery(element).focusout(handler);
Example ...
- By Bharat Patel
- Displaying: 1 - 2 of 2