Question: Ajax in jQuery

Ads

 
 
 

Share on Google+Share on Google+

samar
Ajax in jQuery
1 Answer(s)      6 years and 5 months ago
Posted in : JavaScript Questions

How ajax can be use in JQuery?

Ads
View Answers

December 11, 2010 at 10:55 AM


Given below the code for ajax in jquery:

$(document).ready(function() {
  $('#form').submit(function(){
  var number = $('#number').val(); 
  $.ajax({type:"post",url:"calculate.jsp",data:"number=" 
  +number,success:function(msg){$('#result').hide(); 
  $("#result").html("<h3>" + msg + "</h3>").fadeIn("slow"); } });
  return false;
});
});

Ads









Related Tutorials/Questions & Answers:
Ajax in jQuery
Ajax in jQuery  How ajax can be use in JQuery?   Given below the code for ajax in jquery: $(document).ready(function() { $('#form').submit(function(){ var number = $('#number').val(); $.ajax({type:"post",url
jQuery ajax get example
jQuery ajax get example  Hi, How I can use jQuery for get request? Give me code for jQuery ajax get request. Thanks
Advertisements
jQuery Ajax load request
jQuery Ajax load request  Hi, How to use jQuery to send the request on server to load data in web page? Thanks   Hi, In the jQuery Load Content tutorial you will find the code example to send request on server
jQuery ajax json
jQuery ajax json  Hi, How to use jQuery to load json data through Ajax request? Thanks   Hi, In Java you can use the following code to crate the json response: JSONObject obj=new JSONObject(); obj.put("name","foo
jquery ajax and servlet
jquery ajax and servlet  hi.. i am using jquery,ajax and servlet... and ckicks on "show person " button i am calling a servlet "GetPerson" through ajax... it returns back to the ajax function i load hello.jsp file in the tag but in hello.jsp
application using AJAX and JQuery and also use JSP
application using AJAX and JQuery and also use JSP   i need create an application using AJAX and JQuery and also use JSP
JQuery-JSP AJAX example not working
JQuery-JSP AJAX example not working  Hi, I while back ran you tutorial at http://www.roseindia.net/tutorial/jquery/jqSquareroot.html. I copied... started with AJAX)), I was able to get it working. Just recently, I have been
how to done calculation for dynamic generated textboxes in jquery/javascript/ajax?
how to done calculation for dynamic generated textboxes in jquery/javascript/ajax?  how to done calculation for dynamic generated textboxes in jquery/javascript/ajax
i want horizontal mlm tree structure code in php with jquery or Ajax
i want horizontal mlm tree structure code in php with jquery or Ajax  i need horizontal mlm tree structure code in php with jquery or Ajax... in advance.. Thank you
how can i use ajax and jquery in netbeans ide
how can i use ajax and jquery in netbeans ide  i am using .net here we hav to download ajax controls and if i use netbeans ide and uses ajax control so from where i can get these controls.also i want to know which struct book i
How to add google page in my webpage using jquery ajax.
How to add google page in my webpage using jquery ajax.  Hi, I...://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $.ajax({ url
How to save form data to a csv file using jquery or ajax
, Thank you for your reply , i am suppose to use only jquery or ajax for doing...How to save form data to a csv file using jquery or ajax  Please let...=data.responseText; Now the problem is ,i should write form data to a csv file using ajax
jQuery Training
developing Ajax based application. In this jQuery training we will provide you many examples that you can use in your project. This training covers jQuery Ajax... and adding jQuery into your project Using jQuery for Ajax request a) jQuery
JQuery
), textbox is in one jsp file, the ajax mathod call should be in another jsp file, use jquery autocomplete
JQuery
JQuery  how to use jquery
JQuery
), textbox is in one jsp file, the ajax mathod call should be in another jsp file using url of the doctors, use jquery autocomplete
Jquery
Jquery  I am new to Jquery. Can anyone please tell me how to use jquery plugins in html
Login through database with the help of jQuery 'ajax' & JSP
Login through database with the help of jQuery 'ajax' & JSP In this tutorial, we will discuss about how to use ajax function of jQuery to create.... In this example , login page contain jQuery ajax to make connection with JSP ,which
jquery
jquery  What are the Jquery similarities or difference with other java script libraries
jQuery questions - Ask jQuery questions
General Public License.  jQuery Features Ajax library... about jQuery at http://www.roseindia.net/ajax/jquery/index.shtml....jQuery questions - Ask jQuery questions   
What is jQuery?
What is jQuery?       jQuery is great library for developing ajax based application. jQuery is great... applications. You can use jQuery to develop cool web 2.0 applications. jQuery
JQuery
JQuery  How i begin JQuery and where i begin learning?   Please visit the following link: JQuery Tutorials Learn Jquery from the above link. Here you will get lot of examples with illustration
jQuery
jQuery  Hi, What is jQuery and how it is used to develop Web applications? Thanks
jquery
jquery  how to display the leaves taken or holidays of the year or half working days in a calendar in some colors to identify the days using jquery plugin
JQuery
JQuery  hi there, I am just beginner for jQuery and i want to know-what is jQuery ? How it is better than JavaScript ?   jQuery... JavaScript : Each jQuery returns itself so you can chain them together(Chaining
JQuery
JQuery  how to create jquery auto-complete textbox ? in which data come from database table?   Please visit the following link: http://www.roseindia.net/tutorial/jquery/autoSuggestTextbox.html   thank you
learn jquery
learn jquery   is it possible to learn myself jquery,ajax and json   Yes, you can learn these technologies by yourself. Go through the following links: Ajax Tutorials JSON Tutorials JQuery Tutorials
learn jquery
learn jquery   is it possible to learn myself jquery,ajax and json   Yes, you can learn these technologies by yourself. Go through the following links: Ajax Tutorials JSON Tutorials JQuery Tutorials
Tutorials   
Java Spring Hibernate Struts Training code for programming How can I dynamically load user-entered data as content of jquery dialog? java webcam integration question java coding Fix Scrollbar position in a checkboxList after postback Information Save Alert Country wise redirection to files Interface in javascript connect database with javascript Zip Code ZipCode how to validate the email login How to play FLV video files on Ipad using HTML code or javascript code? Nitobi Grid is not working in IE10/IE11 jquery issue plese help RegEx Tree structure from json whose parents can be dragged and dropped from child newyorklife insurance getElementById not working javascript code for search in html file Implement The Skeleton Code Implement This Skeleton Code Mobile Automation using Appium Computer forensic application Java: Searching a string from doc files java linked list urgent !!! java linked list urgent!!! library management library management library management library management question Html form using JavaScript to display the table content java how to prevent no from unroundin off on clicking text box again in JSP and Jquery graph generation from xml design file display data from database in textbox when id entered in textbox Javascript Code for all fields how to get HTTP GET request value using javascript array Javascript Querry autocomplete(): Spring mvc with jquery: I am not getting correct value in the text filed. Please help me Create SpreadSheet same as excel using java applet Create SpreadSheet same as excel using java applet How to change focus among multiple select boxes? Write JQUERY Code Write JQUERY Code Converting jsp variable to java variable java

Ads

 
Advertisement null

Ads