Hi, so I am trying to make a code that basically auto clicks on shoes size and than clicks on the add to cart.
This is the code, I am stuck on the highlighted part the size is not being selected.
[code][login to view URL]({action: "isRecordingOn"}, function(response) {
if([login to view URL] == 'true'){
var size = [login to view URL];
$(function(){
vv = setInterval(function(){
[COLOR="#FF8C00"]$('select[class="radio-value"] option:contains('+size+')').first().attr('selected', true);[/COLOR] // Picks the shoes size
try{
[login to view URL]('button btn-cart')[0].click(); // Clicks on the add to cart button
clearInterval(vv);
}catch(err){
[login to view URL]("erreur: "+err);
}
},100);
});
}
});[/code]
[url=[login to view URL]][img][login to view URL][/img][/url]
Thank You.
Dear Sir, We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words,
let's get it done right away and I mean RIGHT AWAY !! Looking forward to hear from you soon - GOD Bless You.