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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -