You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2007/08/10 03:51:18 UTC

[jira] Commented: (WW-2100) Refreshing a div from javascript using dojo fails on subsequent attempts after first refresh in IE 6.0. It works fine in firefox.

    [ https://issues.apache.org/struts/browse/WW-2100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41782 ] 

Musachy Barroso commented on WW-2100:
-------------------------------------

Acn you give more details on what how does it fail? Is there an error? If you set debug="true" in head, is there any error in the log at the bottom of the page?

> 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.