HTML Tabs have became one of the most used UI components in web design. Tabs are generally used to break content into multiple sections that can be swapped to save space. Different implementation of HTML Tabs are available and jQuery UI is one of the simplest one.For adding jQuery tabs in your HTML page, first you ...
jQuery, the JavaScript library provides some powerful set of jQuery AJAX API's to handle AJAX requests. The normal way of making AJAX calls using JavaScript is a bit odd as you have to first create an XMLHttpRequest object that depends on the browser and then make an AJAX call. Also sending a form data using AJAX ...
Handling events in today web browser is a bit difficult part as different browser handles events in a different way. Hence to overcome these cross browser problems, one can leverage the Event handling APIs of jQuery.jQuery is a small JavaScript library that provides a vast number of APIs to handle different browser events and effects ...
jQuery is a small and wonderful JavaScript library that I use extensively in my work. I thought to write a tutorial about achieving UI Effects through jQuery. In
this post, I explained how to do fade in/fade out effect using jQuery. This time let us see all the tricks that we can do to manipulate ...
Web 2.0 applications have became pervasive today. Lots of new features using AJAX, JavaScript, DHTML etc have been incorporated in web applications to make them rich in user appeal. One of the framework that has changed the way we write client side code is jQuery.Let us see a simple trick to FadeIn and FadeOut a text ...
Maxlength of Textarea Setting up maxlength of input text are easy. Just an attribute maxlength="##" does the work. But maxlength attribute does not work with textarea. I tried writing <textarea rows="5" cols="30" maxlength="120"></textarea> but this does not works.So what to do if we want to fix the maxlength of a textarea?Use following jQuery plugin for setting maxlength of any textarea on your page.First thing for ...
Usually AJAX requests are send through GET method. This is because there are few parameters that one send while sending a request through AJAX and also it is relatively easy to create and send a GET method request. Following code is used generally to create a GET request through AJAX.function getXMLHttpRequestObject() { var xmlhttp; /*@cc_on @if (@_jscript_version >= 5) try ...
You must have seen orkut style status update box where in the details can be modified by clicking on it. Once user click the details, details gets populated inside a textbox and an update button. Once update button is clicked, the data gets updated in database.Similar status update box is available in wordpress ...