View Full Version : NEWBIE <DIV> problem

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

03-18-2005, 11:14 AM