Is there a way to apply CSS to half of a character in a text? Yes, it is possible. Half the letter being transparent and half is visible prominent. All you need to do is to add a class on the text you want to apply CSS and the rest is taken care of. The accessibility […]
Search: “data”
We found 1,491 results for your search.
Store objects in HTML5 localStorage
The localStorage property allows you to store objects in HTML5 that is more secure and can store large amounts of data locally. It’s essential sometimes having stored JavaScript object in HTML5 localStorage. But objects don’t seem to work? Let’s see. Basically, if you have a look for Apple, Mozilla and Microsoft documentation, you can find […]
Sometimes in jQuery we need to select all checkbox that are child of a element or depends on child checkbox we need to select top most parent checkbox. You need to iterate all children for which the parent you click in and the same way for a child we need to check top most parent. […]
jQuery AJAX Methods
AJAX is an acronym standing for Asynchronous JavaScript and XML that is the art of exchanging data with a server without a browser page refresh. jQuery is a great tool that provides a set of AJAX methods to develop the next generation of web application. This jQuery method is mostly used for requests where the […]
jQuery live() Method
The jQuery live method attach one or more event handlers for all elements which match the current selector and specifies a function to run when the events occur. Event handlers attached using live() method works for both current and future elements which match the selector. Syntax of jQuery live(): $(selector).live(event, data, function) Note: The jQuery […]
Why use jQuery on() instead of click()
The on() method attaches one or more event handler functions for one or more events to the selected elements. Event handlers attached using the jQuery on() method will work for both current and future elements i.e. dynamic element created by a script. Note: As of jQuery version 1.7, the jQuery on() method is the new […]
The serialize() method creates a text string in standard URL-encoded notation by serializing form values. One or more form elements (input, radio, checkbox etc.) can be used as a serializing. You can use this serialized values as a URL query string while making an AJAX request. Syntax: $(selector).serialize() Below we have shown an example for […]
Website speed up is one of the ranking method from Google and here we will discuss few tips how to speed up your blog and decrease loading time of your blog. There are so many factors by which we can reduce the page loading time and we need to care about all those steps to […]
jQuery bind() function is used to attach one or more event handler to elements, while the unbind() is used to removes an existing event handler from elements. As of jQuery version 1.7, jQuery on() method is the preferred method rather than jquery bind and unbind for attaching event handlers for selected elements. bind() : A basic […]
Using delegate and undelegate in jQuery, you can bind or remove a handler from the event for all elements that matches the current selector. Basically, these methods achieve the same thing as the jQuery .live() and .die() methods but they just use a different syntax. Syntax of Delegate: $(selector).delegate(childSelector,event,data,function) Example of jQuery Delegate: $(“table”).delegate(“td”, “hover”, […]
