Hey,
I'm writing a VB application that interacts with the HTML DOM.
If I go to this page:
https://edit.yahoo.com/registration
And then try to change the "I prefer content from" SELECT box in the top right to "Yahoo! Asia" from the default option selected, I can do so using this command:
Document.Forms.regFormBody.preferredcontent.selectedIndex = 10
It successfully changes it. But the problem is that it's not the same behavior as if you manually changed that option to Yahoo! Asia using your mouse.
If you try to do so manually without using the DOM, after changing it, the page refreshes.
I'm assuming it's a javascript call or something that refreshes that page according to which option is selected, but I've tried to replicate that behavior using DOM and I just can't figure it out.
Can someone help? Thanks in advance.