Refreshing a div from javascript using dojo fails on subsequent attempts after
first refresh in IE 6.0. It works fine in firefox.
---------------------------------------------------------------------------------------------------------------------------------
Key: WW-2100
URL: https://issues.apache.org/struts/browse/WW-2100
Project: Struts 2
Issue Type: Bug
Affects Versions: 2.0.6
Environment: Internet Explorer 6.0
Reporter: santosh yadav
Hi,
I am trying to assign a javascript function to handler event of s:submit with
ajax theme.
Inside javascript, I am trying to do few form validations and then refresh a
div with required action.
It works fine first time in IE 6.0. But once the div is refreshed, doing same
activity next time fails.
If I again refresh the whole page and try then it works.
It works fine in firefox all the time.
P.S: Error is not consistent. I mean, sometime it works couple of times in
succession and then fails. Sometimes it fails after first try.
Please find below javascript function used for reference:
function refreshDiv(widget, node) {
var ajaxResultDiv = dojo.widget.byId('divId');
ajaxResultDiv.href = 'href';
ajaxResultDiv.formId = 'formId';
//some validations
ajaxResultDiv.refresh();
}
Thanks!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.