This tutorial will explain one of the ways to avoid accidental submissions of form using the JQuery and Ajax. While developing the web application this is the most common bug ignored by the newbies.
I will use the JQuery library and the Ajax to accomplish this behavior.
Disable inputs after submit to avoid double submission using JQuery
I have created Online JSON parser using JQuery library.
JSON Parser Using JQuery Tutorial
Hi, In this article, my aim is to create an application which uses the concept of
Hibernate in Servlet with Ajax support of Jquery.
Below figure can give you the idea of final look and feel of the complete application:
Servlet, Hibernate, jQuery and Ajax based google like chat
In this article i will explain step by step creating Ajax Based Multi select JQuery Autocomplete User Control.
Here, we will use
To get the Data using AJAX, here we will try Jquery UI Tool’s Autocomplete Control. of ASP. Using Handlers against simple asp.net page is that, if we will use ASPX page then it will go through all the phases of page (nearly 1o) whereas Handler is faster than ASPX page. Handlers
Ajax Based Multiselect JQuery Autocomplete Control in ASP.Net
Step 1 : creating Handler
In step 1, we will create the handler which will provide the data in form of JSON.
To know more about creating JSON is C#, read this article written by me on codeproject.
Write below HTML code :
This will create two text boxes.
<input name="Name" type="text"></input>
<input name="Email" type="text"></input>
Using jQuery, we can watch for an event where an input form comes into focus:
Add link to JQuery file in script tag as shown in below line:
Now, add below CSS in document.
We are using the advantage of jquery of adding and removing the CSS class. we cannot left blank to CSS class, as it may remove the existing other class from the tag.
This line causes the execution of jquery after complete loading of page.
Selecting field using jquery