jQuery slice() method is very useful and give more flexibility than substring method of jQuery. It takes 2 parameter and both are optional. If none is specified then it sliced the whole. Important thing with this method is that it doesn't consider the last sliced item in its result.
...
[More]
jQuery 1.8 first BETA version is released and can be experienced by downloading it from jQuery CDN.
[More]
We can find the checked value of a radio button using :checked attribute and radio button's name as a selector.
20. January 2012
Anil Kumar
jQuery
I use .data for storing values instead of accessing DOM elements. I realized and found a better and faster way of it. In fact I have been using
$('#myElementID').data(myKey,myValue);
for a while now.
Check out following/ these cases-
The other way for the same is ...
[More]
Microsoft is promoting jQuery and so Visual Studio 2010 is having inbuilt intellisense for it. But for earlier version of Visual Studio i.e. VS 2008, it can be done by installing kb file.Upgrade Visual Studio 2008 to Service Pack 1 and use the KB958502. This hotfix can be downloaded from -http://arc...
[More]
The hover requires 2 callback functions, one for "mouseover" and another one is far "mouseout". Thus we can say, hover is an ready made solution that is equivalent of binding these two events in following manner -
$('.myHoverClassNameComeHere').live('mouseover mouseout', function(event) {
if (event.type == 'mouseover') {
// do something on mouseover
} else {
// do something on mouseout
}
});
[More]
Java Script was created by Netscape for their new version of browser. Initially they released this as part of Netscape Navigator 2.0 with a name "LiveScript". Later they renamed it with "Java Script". Note, Java is a programming language and completely differ. Actually at that time Java was being mo...
[More]