1) Script Title:
DHTML window
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...ndow/index.htm
3) Describe problem:
I am working with j2ee and am running into an issue with dynamic updating divs. I have a div on my page
This snippetForm has an element that I programmatically update with some javascript.Code:<div style="" id="snippetDiv"> <%@include file="/jsp/pageViewer/snippetForm.jsp" %> </div
The problem arises when I try and display the div's content within the DHTML window.
The div window opens up correctly, however the information that should have been updated does not get carried over.Code:var translateSnippetDiv = dhtmlwindow.open(el.id+"Div", "div", "snippetDiv", el.value, "width=450px,height=300px,left=300px,top=100px,resize=1,scrolling=1");
For instance. SnippetForm.jsp might have a form element that contains first Name. The javascript updates this forms name depending on what row in a table is clicked on. When I open the DHTML window all I see is the blank form. I know the div tag is getting updated by the javascript since I set the div tags property to 'display:block' so I can see it getting updated. Any help would be greatly appreciated



Reply With Quote

Bookmarks