1 2 3 4 5 6 7 | $jq= new jQuery.noConflict(); var mimim=[ "Yellow Topaz" , "Alexandrite" ]; $jq.each(mimim, function (a,b){ $jq( "#add_new_option_button" ).click(); $jq( "#matage-options-panel .dynamic-grid tbody tr:nth-child(2) td:nth-child(1) input" ).val(b); }); |
Leave a Reply