I am using $ajax->observeForm() to observe/submit a form with several
checkboxes. All works as expected in IE7 and FF. A strange problem
in IE6, though:
-When I initially load the entire page, everything appears as
expected.
-When I click on a checkbox, it submits the information correctly and
updates the div containing the form with the correct data
-However, once the form is triggered to submit, it will then continue
to resubmit itself every {$frequency} seconds, even though there has
been no change to the form. This continues indefinitely (unless I
reload the entire page)
Code from my view:
...<code>
echo $ajax->form(array('/trunk/scheduleomatic/shiftevents/
updateStaffViewPrefs'),
array('post'),
array('id' => 'updateViewPrefs'));?>
// form data...
</form>
echo $ajax->observeForm('updateViewPrefs',
array('frequency' => 4,
'url' => 'updateStaffViewPrefs',
'update' => 'updateStaffViewPrefsID',
'loading' =>
"Element.hide('updateViewPrefs'); ".
"Element.show('updateViewPrefsLoading');",
'complete' =>
"Element.hide('updateViewPrefsLoading'); ".
"Element.show('updateViewPrefs')"));
</code>
I have searched for this issue both here and on Google looking for
Form.Observe() issues, to no avail.
Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---