lord_raven
08-15-2003, 08:18 PM
Is there a way to simulate a mouse click in a select box? I know it can be done to buttons, radios, and checkboxes by adding formname.elementname.click(), but that doesn't work in select boxes... I want to make the select box automatically drop down when moused over... no reason in particular, I'm just experimenting...
I get this error...
Event thread: onmouseover
Error:
name: TypeError
message: Statement on line 1: Expression did not evaluate to a function object: form.select2.click
Backtrace:
In unknown script
form.select2.click();
At unknown location
{event handler trampoline}
I get this error...
Event thread: onmouseover
Error:
name: TypeError
message: Statement on line 1: Expression did not evaluate to a function object: form.select2.click
Backtrace:
In unknown script
form.select2.click();
At unknown location
{event handler trampoline}