Programatically click link with JQuery -
I am testing a plugin that I am making, but I do not get enough in doing 1 part work. I am trying to click on a link to the program on the following page (as an example):
http://store.nike.com/us/en_us/ Pd / flyknit-lunar2-running-shoe / pid-830248 / pgid-1499411
I'm trying to click on the shape button to display the shape, but Nothing like this is happening. I can change the actual text on the button:
$ ('span.js-selectbox-label'). Html ("Test");
This works, so I know that I'm talking to the right time. However, when I click, there is nothing like that, I hope the Size box will pop up as I have manually clicked the Size button:
$ ('Span.js-selectbox-label'). Click ();
My ultimate goal is to be able to use jQuery to choose a shape for the program. So if someone can suggest a shortcut to do this, then I will be ok with this too.
If you select & lt; A & gt;
tag
$ ('Span.js- select box label WHATEVER_THE_A_TAG_IS_CALLED'). Click ()
Comments
Post a Comment