[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Javascript questions



I am trying to allow the user to enter data using another window. I open this
new window in a function in my main html file. Then I use write method to 
create a form inside that new window plus a 'OK' button. On the onClick
event of ok button I want to call a validate function that is defined in that 
file. When I load the html file I get a form in a seperate window but when I 
click on the ok button I get a javascript error saying validate function is
not defined. May be that the validate function is not visible in the new
window. Does anybody in this list know any solutions for this ? 
Thanks
- Nuwan