Javascript eval statement

ruhk

Dum Cumpster
Joined
Oct 26, 2000
Messages
1,401
I hate javascript. There has to be something wrong with this eval statement, it passes the field1 parameter, but the height and width dont work.

Code:
eval("window.open('http://devcgi.uwplatt.edu/cgi-bin/testbed/postcard/card.pl?preview=yes&to=" + field1 + "','Preview',height=375,width=475)");

Any ideas? Thanks
 
Sigh, nevermind figured it out. Spent all afternoon yesturday fustrated and figure it out in 2 seconds this morning.
 
Back
Top