showModalDialog and DOM

L

louvino

Hi,

When I open a showModialDialog, I create a node of DOM (<DIV
WIDTH="200px"><B>Text here</B></DIV>).

I want to get this node in the calling page but I get the node <DIV
WIDTH="200px"></DIV>.

What's the problem ?

Please help me.

Code of the calling page :
<html>
<head>
</head>
<body>
<script type="text/javascript">
var m=showModalDialog("modal.html", "status=no; scroll=no; help=no; unadorned=yes");
alert(m.outerHTML);
</script>
</body>
</html>

Code of the showModalDialog :
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top