By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,946 Members | 1,714 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,946 IT Pros & Developers. It's quick & easy.

Little AJAX problem...

P: n/a
http://baltasar.kicks-ass.net/

Alright, check it out. Got a little AJAX thingie going to retrieve the
content for the site. The problem is that, in Firefox, it takes 2
clicks on the buttons for the site to change content from one section
to the other. Try out and see for yourself.

It doesn't happen in IE by the way.

Any idea whats going on in there? Thanks for the help

Jun 20 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Jun 21, 12:25 am, SpiralCorp <spiralcorporat...@gmail.comwrote:
http://baltasar.kicks-ass.net/

Alright, check it out. Got a little AJAX thingie going to retrieve the
content for the site. The problem is that, in Firefox, it takes 2
clicks on the buttons for the site to change content from one section
to the other. Try out and see for yourself.

It doesn't happen in IE by the way.

Any idea whats going on in there? Thanks for the help
function handleResponse()
{
if(ajaxRequest.readyState == 4)
{
if (ajaxRequest.status == 200)
{
contentData = ajaxRequest.responseText;
return contentData;
..
..
..
bodyElement.innerHTML=ajaxFunction('contactos');

might do it.

Jun 20 '07 #2

P: n/a
On 20 jun, 19:31, shimmyshack <matt.fa...@gmail.comwrote:
On Jun 21, 12:25 am, SpiralCorp <spiralcorporat...@gmail.comwrote:
http://baltasar.kicks-ass.net/
Alright, check it out. Got a little AJAX thingie going to retrieve the
content for the site. The problem is that, in Firefox, it takes 2
clicks on the buttons for the site to change content from one section
to the other. Try out and see for yourself.
It doesn't happen in IE by the way.
Any idea whats going on in there? Thanks for the help

function handleResponse()
{
if(ajaxRequest.readyState == 4)
{
if (ajaxRequest.status == 200)
{
contentData = ajaxRequest.responseText;
return contentData;
.
.
.

bodyElement.innerHTML=ajaxFunction('contactos');

might do it.

No, that doesn't work. Remember the handling function is part of
ajaxFunction. Doing that actually breaks the whole thing. (I had
actually tried it before posting btw)

Jun 20 '07 #3

P: n/a
On 20 jun, 19:51, SpiralCorp <spiralcorporat...@gmail.comwrote:
On 20 jun, 19:31, shimmyshack <matt.fa...@gmail.comwrote:
On Jun 21, 12:25 am, SpiralCorp <spiralcorporat...@gmail.comwrote:
>http://baltasar.kicks-ass.net/
Alright, check it out. Got a little AJAX thingie going to retrieve the
content for the site. The problem is that, in Firefox, it takes 2
clicks on the buttons for the site to change content from one section
to the other. Try out and see for yourself.
It doesn't happen in IE by the way.
Any idea whats going on in there? Thanks for the help
function handleResponse()
{
if(ajaxRequest.readyState == 4)
{
if (ajaxRequest.status == 200)
{
contentData = ajaxRequest.responseText;
return contentData;
.
.
.
bodyElement.innerHTML=ajaxFunction('contactos');
might do it.

No, that doesn't work. Remember the handling function is part of
ajaxFunction. Doing that actually breaks the whole thing. (I had
actually tried it before posting btw)
Fixed. Move along. Nothing to see. Thanks for your support ;)

Jun 21 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.