I want to tidy up a popup by having it submit onChange but I am unable to get the syntax right. I have seen similar examples of this but just cannot get it right.
The form is called 'pstat' and works ok with a submit button.
Am I on the right track and is this method reliable across all browsers?
Keith
Code:
my $SELLSTAT= $query->popup_menu(
-name=>'sellstat',
-values=> \@SellStats,
-default=>$results[40],
-onChange=>[red]'document.forms.pstat.submit()',[/red]);
Am I on the right track and is this method reliable across all browsers?
Keith