Having some problems I do not understand when trying to fill out a form.

I'm filling in about 10 input element in total, and as long as I have the Msgbox "dummy" in my code everything work fine.

If I remove the Msgbox row, it stops filling out the form right before the Msgbox row.

So I'm thinking it either needs to Sleep a while, or change focus (that's what the Msgbox really does). But tried to Sleep for several seconds, without any success.
(I've also tried using HTML.getElementById.click and HTML.getElementById.focus to make it interact with the page and somehow solve this, but in vial)


Any suggestions or tips on what could be wrong and how to solve it?


Please Login or Register  to view this content.