greasemonkey - Trigger inline onchange javascript -
i'm writing greasemonkey script creates auto-complete search type box makes easier select large dropdown on webpage. dropdown has inline onchange code can't seem trigger when change selection using javascript. ideas?
suppose the page had like:
<input onchange="somefunction()">
then greasemonkey javascript change input value , call function using:
unsafewindow.somefunction();
Comments
Post a Comment