Results 1 to 2 of 2
Oct 20, 2011, 10:20 #1
- Join Date
- Sep 2011
- 0 Post(s)
- 0 Thread(s)
JQuery automation to mimic user iteration of web page
I wish to automate the population of a page by prefilling form values such as select boxes as well as fire off the change event after the value has been set. However there are at least 3/4 select boxes on one page which need populating automatically.
This works fine for the first element but not for subsequent elements all in one go when use the Trigger method of Jquery.
Can anyone suggest where I am going wrong.
$('#category').trigger('change'); <-- stops here.
The change event on category seems to break the flow and does not pass control back to carry on the order of processing.