Trending AJAX Toolkit Discussions

Follow

Ask the Community


Ask any professional question and get answers from other specialists.

Stream language
Abhiram Giri's image
Question added by Abhiram Giri
11 years ago

Write an post method either in ajax or jquery which will work in all browser(old version and latest version)?‎

$.post( "submit.php", "username="+username+"&password="+password, function( data ) { alert(data); } In this case data are not post‎ ... See More

Answers:
5
Followers:
Views:
1140
Vote Count:
0
Answer should contain a minimum of 25 characters.
jogamaya routray's image
Question added by jogamaya routray Project Manager skill avenue Pvt. Ltd
7 years ago
Answers:
3
Followers:
Views:
7
Vote Count:
2
Answer should contain a minimum of 25 characters.
Kaustav Banerjee's image  
Answer added by  Kaustav Banerjee, Associate Software Engineer, AuricleSoft
11 years ago

The JQuery syntax is wrong   Try this   $.post( "submit.php", {username:username,password:password}, function( data ) { alert(data); } );    Also the variables ... See More

Fadi Alkhateeb's image  
Answer added by  Fadi Alkhateeb, Senior Front End Developer, NexTwo
11 years ago

I think using Jquery will be just fine and support all browsers including IE6: http://www.w3schools.com/jquery/jquery_ajax_get_post.asp http://www.w3schools.com/jquery/jq ... See More

Sohail Asghar's image  
Answer added by  Sohail Asghar, Management Trainee IT, Mari Petroluem Company Limited Daharki
7 years ago

AJAX makes a web page to loaded dynamically. We don't need to refresh page everytime we make a change.

Arun Raj G S's image  
Answer added by  Arun Raj G S, CRM Administrator & PHP Developer, ME Group
7 years ago

I am not sure on "What new features ?" There might be a lot which depends on your requirement. As of me, User Experience is the best part of Ajax. It eliminates ... See More

Ahsan Sarfraz's image  
Answer added by  Ahsan Sarfraz, Manager IT, Nidus Engineering
7 years ago

IMHO Ajax has the following key features which makes it so powerful 1- Asynchronous communication between server n client 2- bosst web app speed due to partial postbacks ... See More

Muhammad Majid Saleem's image  
Answer added by  Muhammad Majid Saleem, Senior PHP Developer / Project Manager, SwaamTech
11 years ago

You can learn it from following URLs: http://api.jquery.com/jQuery.post/ http://api.jquery.com/jQuery.ajax/ http://www.w3schools.com/jquery/jquery_ref_ajax.asp http://www ... See More

Mo'ath Al Mallahi's image  
Answer added by  Mo'ath Al Mallahi, Senior PHP Developer, iHorizons
11 years ago

This could be done using jQuery like this: $("#form_id").submit(function(){ $.ajax({ data: $(this).serialize(), //serialize the form data to be sent url:'s ... See More

Daanish Rumani's image  
Answer added by  Daanish Rumani, Product Manager, Publicis Sapient
11 years ago

If you stick to jQuery then it handles all browser related worries. That is why jQuery was born in the first place.