Forum Moderators: open

Message Too Old, No Replies

Checkboxes in Ajax layer causing trouble in firefox

Checkboxes in Ajax layer causing trouble in firefox

         

zeeshan12

4:22 pm on May 7, 2008 (gmt 0)

10+ Year Member



Hi,

I have some checkbox controls loaded into a form through ajax. The firefox is not recognising the controls when IE does. Even when the form is submitted in IE I am able to get their values on the next page but not in firefox.

Anyone got any idea why that is?

Thanks

eelixduppy

8:06 pm on May 7, 2008 (gmt 0)



It is probably an error in your javascript somewhere. Have you checked your javascript errors to see if anything noticable is coming up?

zeeshan12

1:46 pm on May 8, 2008 (gmt 0)

10+ Year Member



I have checked and there are no javascript errors in the code at all.

here's an exmaple code of what i'm trying to do.

<form name='frm' method='get'>
<input type='something' type=text>

<div id='test'>

</div>

</form>

<input type=button onclick='load_checks()'>

On clicking the button some checkboxes are loaded from another php file in the above form through ajax. I am able to access the values of the checkboxes in IE and the values are sent when the form is submitted. But in Firefox and Opera the checkboxes are not accessable.

:S