473,387 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Little AJAX problem...

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
3 1166
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: lodge.stuart | last post by:
Hi I've written a small AJAX-style UI - although it's not strictly AJAX as it uses HTML fragments rather than XML This UI works fine for me and the majority of users. However, a few users...
12
by: Joel Byrd | last post by:
I am making an AJAX call when any one of a number of inputs in a form (search criteria) are clicked, checked, changed, etc. When the user clicks, checks, whatever, I am trying to display a...
1
by: monudjn | last post by:
Hi I am implementing ajax in portal. Using ajax i am able to updating the content of portlets asynchronously. However i am facing a problem The Problem: While submitting the form i am getting...
3
by: Patrick.O.Ige | last post by:
I have this Ajax script below that returns data ... var xmlHttp function showCustomer(str) { xmlHttp=GetXmlHttpObject();
2
by: K. | last post by:
Hello! I have the following problem. I have form div which is replaced by ajax event. Unofrtunately all the ajax inputs are null after posting the form (method="post") in Firefox, but on...
2
by: wpt394 | last post by:
Hello everyone, I have a little script that seems to hang up in internet explorer every now and again. Basically, I have a php page that sets the following headers: header(...
1
by: violinandviola | last post by:
I have just put 4 different ajax bits on this page: http://jimpix.co.uk/default-ajax.asp The ajax spits out chunks of images / news content, and users can view the chunks via next / prev links....
4
by: sheldonlg | last post by:
I haven't received an answer with my other post, so I am rephrasing it here. In php I have a 2D array which I "print". The headers force it to be a file on the user's system. The user receives...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.