...

View Full Version : NEWBIE <DIV> problem



indrika
03-18-2005, 11:08 AM
hi guys

my problem is this. i got a popup which consists of a DIV element with ID="popupcontext"

my problem is how to access the object of this div element through javascript and call the setCapture() method on it.

what i have tried is shown below, and it doesnt work.
could u show the correct method.

function test(){
var popupWindow = window.open(.......)
popupWindow.document.popupcontext.setCapture(); //this does not work
}

Kor
03-18-2005, 11:14 AM
popupWindow.document.getElementById('popupcontext').setCapture();



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum