I need to create a Javascript alert when one of the drop down options is selected in a menu/list in a form.
Can anyone advise how to do this?
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
I need to create a Javascript alert when one of the drop down options is selected in a menu/list in a form.
Can anyone advise how to do this?
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
In the Extended dialog for the menu, add an onchange handler:
(In the Extended dialog, you’ll click New, and then you’ll see a sub-
dialog with fields named Name and Value. Enter the following two lines
as Name and Value.)
onchange
if(this.options[this.options.selectedIndex].value == 'foo') alert('Don
‘t do that!’);
Walter
On May 25, 2009, at 12:15 PM, WebWorker wrote:
I need to create a Javascript alert when one of the drop down
options is selected in a menu/list in a form.Can anyone advise how to do this?
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options