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

silverlight - Applying a style to ItemContainerStyle in C# -

php - Retrieving comment count from fb:comments widget (Facebook) -

c# - NullReferenceException in MySqlClient.NativeDriver -