Portal Home > Knowledgebase > Articles Database > firefox & ajax


firefox & ajax




Posted by mohammadi, 11-06-2010, 03:41 AM
Hello would you tell me how to write my ajax code to run in firefox? thanks

Posted by ArabCoders, 11-06-2010, 10:35 AM
I would suggest to you, use Jquery it has built-in support for pretty much all major browsers, such as firefox, IE, Opera, Safari etc.

Posted by TheDandy, 11-06-2010, 10:49 AM
There is no special way to write ajax for firefox or other browser. All browsers should behave in a very similar way. First of all, I would recommend you to install FireBug Add-on for firefox. It's the 1st thing a web developer should install. Then, you can use jquery, or protoype libs to easily use AJAX. You will learn it very quick, and find them really usefull.

Posted by TheDandy, 11-06-2010, 10:51 AM
This is a sample request of AJAX in jQuery:

Posted by mohammadi, 11-07-2010, 02:17 AM
would you please help me how to write the code below to use when we select an option and get data from a php file? thanks $.ajax({ url: "test.html", context: document.body, success: function(){ $(this).addClass("done"); }});



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Dathorn Review (Views: 795)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.