View Full Version : Ajax problem in Firefox

09-25-2008, 07:33 AM

I have a registration from. Where there is some checkbox which loads dynamically at "onclick" event of a radio button. The checkbox loads from a different php page by ajax. The problem is the value of checkbox cannot be fetched by the parent page. The code is:

$.post("sh_sub.php", {
id:+ selected},
parent: "data.parentNode",

Which is working in IE but not working is Firefox.

Can anyone help ?

09-25-2008, 01:01 PM
What is that random + in the id line?

Is there any errors in the JavaScript console? Do you have more than one element with the same id?


09-25-2008, 01:26 PM

Thanks for the reply.

1. No, there is no error in javascript console.
2. "+selected" is just the value submitted in the php page in "post" method.
3. There are not more than one element.

The problem is that it's working in IE, but not working in Firefox.

09-25-2008, 02:35 PM
get firebug, watch the transaction

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum