...

View Full Version : "undefined" error



tachyon
07-05-2004, 02:55 AM
address: <input type="text" onblur="updateParent1(this); updateParent5('USA')">

I try this line of code in a field on my popup window but it drops "undefined" into the country field on the parent page. Any way to fix this?

glenngv
07-05-2004, 03:22 AM
Of course, no way for us to help you fix that without seeing the updateParent1() and updateParent5() functions. :rolleyes:

glenngv
07-05-2004, 03:30 AM
I now see your codes in the other post (http://www.codingforums.com/showthread.php?t=41243).

updateParent5() expects a text field object not just its name.

<input type="text" onblur="updateParent1(this); updateParent5(this.form.USA)">

tachyon
07-05-2004, 03:35 AM
Thanks! I'll give that a try.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum