- Joined
- Jan 12, 2016
- Messages
- 65,199
- Reaction score
- 145,732
- Points
- 2,088
- Gender
- Male
Seems to work fine, but I'd need to see what you're doing in context probably. Does it populate the location into the field properly? That line you have there, inside the message receiver function, after the input is filled in, should work to click the button.hi guys. does anyone know how I can use javascript to fire a javascript event/function on a different webpage? in situations where onclick can't be used. and the url doesn't change on firing the event.
I'm posting a message to this webpage which puts the location in the search box.
http://findanadvisor.napfa.org/Home.aspx
this doesn't work to click the search button
I have googled all the thingsCode:document.getElementById("addressSearch").getElementsByTagName("a")[0].click();