PDA

View Full Version : pop-up via drop-down (onChange)


mduran
02-12-2003, 03:40 PM
Hello, newbie calling:

I have a drop down with 5 items. Each item has as value the name of a php script.

I would like to make that, through an onChange event (so no buttons), a pop up window would open with the php script in question.

Can I do all this in one single line and call it directly from the select tag (so onChange={all code goes here}) or do you always have to write the function and call this from the onChange event ?

Any code snippet would be much appreciated, I'm not much of a JS guru :-((

thanks.

A1ien51
02-12-2003, 03:52 PM
Some advice...search the forums...you would have found this....a discussion from the other day

http://www.codingforums.com/showthread.php?s=&threadid=14451

mduran
02-13-2003, 08:57 AM
Yes, my fault.. I didn't take a thorough look. Thanks anyway !