Discussions Populaires Dans la Communauté AJAX Toolkit

S'abonner

Questionnez la Communauté


Ask any professional question and get answers from other specialists.

Stream language
jogamaya routray's image
La question a été ajoutée par jogamaya routray Project Manager skill avenue Pvt. Ltd
Depuis 6 années
Réponses:
3
Adeptes:
Vues:
7
Vote Count:
2
La réponse doit contenir un minimum de 25 caractères.
Abhiram Giri's image
La question a été ajoutée par Abhiram Giri
Depuis 10 années

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‎ ... Voir Plus

Réponses:
5
Adeptes:
Vues:
1015
Vote Count:
0
La réponse doit contenir un minimum de 25 caractères.
Kaustav Banerjee's image  
La répondre a été ajoutée par  Kaustav Banerjee, Associate Software Engineer, AuricleSoft
Depuis 10 années

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

Signaler CV
Fadi Alkhateeb's image  
La répondre a été ajoutée par  Fadi Alkhateeb, Senior Front End Developer, NexTwo
Depuis 10 années

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 ... Voir Plus

Signaler CV
Sohail Asghar's image  
La répondre a été ajoutée par  Sohail Asghar, Management Trainee IT, Mari Petroluem Company Limited Daharki
Depuis 6 années

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

Signaler CV
Arun Raj G S's image  
La répondre a été ajoutée par  Arun Raj G S, CRM Administrator & PHP Developer, ME Group
Depuis 6 années

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 ... Voir Plus

Signaler CV
Ahsan Sarfraz's image  
La répondre a été ajoutée par  Ahsan Sarfraz, Manager IT, Nidus Engineering
Depuis 6 années

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 ... Voir Plus

Signaler CV
Muhammad Majid Saleem's image  
La répondre a été ajoutée par  Muhammad Majid Saleem, Senior PHP Developer / Project Manager, SwaamTech
Depuis 10 années

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 ... Voir Plus

Signaler CV
Mo'ath Al Mallahi's image  
La répondre a été ajoutée par  Mo'ath Al Mallahi, Senior PHP Developer, iHorizons
Depuis 10 années

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 ... Voir Plus

Signaler CV
Daanish Rumani's image  
La répondre a été ajoutée par  Daanish Rumani, Product Manager, Publicis Sapient
Depuis 10 années

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

Signaler CV