![]() |
Sending and Retrieving Data
Hey,
Been having a bit of a problem with my Ajax script, i have this for the link: Code:
<a href="#" onClick="getData('revision.php?mid=3&sesion=2&user=1', 'messageContent');">Code:
var XMLHttpRequestObject = false; |
When ever i use ajax i use the following code.
PHP Code:
|
1 Attachment(s)
That works perfectly for me in Internet Explorer 7 and Mozilla Firefox 2.0.0.11 (Anyone else noticing Mozilla release lots of updates recently?).
See the attached file, try just running that on its lonesome and seeing what happens. |
Well, it's half working although here mid=3&sesion=2&user=1 for some reason it's going to the PHP script through the Ajax as mid=1&sesion=1&user=1
Any ideas? |
Nevermind! All fixed now ! :-)
Thanks for all the help! |
Care to share how you fixed it? Just in case anybody else is having a similar issue.
|
It was actually a PHP issue, so, that Ajax code and HTML works.
|
Pssst... use Prototype
Yeah Wildhoney, I've noticed all the Firefox updates lately...wutupwidat!? Though I'm still on .06 because of Vista, it won't let me update it for some strange buggered up reason. |
Well I think Firefox is still on a slippery at the moment, it in my books anyway. The only reason I use Firefox now is because there's no Firebug available for Opera. Though I believe Opera are in the process of developing one! When comparing the 2, the speed difference these days is astonishing. It shows you how far Firefox has dropped in terms of being a light-weighty and speedy browser.
|
Netscape is pretty awesome, and really quick, even thought it is based around FireFox they have done some work to it.
|
Well, Netscape is based on the layout engine, not actual Firefox. Just the way it renders the elements. There are quite a few layout engines, for which every developer should have at least one browser with each layout engine to ensure their website works perfectly with it - the most popular ones, anyway:
|
I thoght it was called WebKit:
WebKit (Apple) |
| All times are GMT. The time now is 10:40 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0