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.
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.