javascript - How to click an input field many times? -
sorry question,but not familiar javascript need help.i programming in python , c & c++. need javascript geniuses.
what's script click on input field once every time page refreshes?
there input field on live web page(testing) , want script generate 1000 clicks, each click after page refreshes. how can that?
if you're curious why, it's because i'm testing mini-web browser programmed.
please before down-vote tell me what's wrong question.
<input type="text" id="target"> $(document).ready(function() { var = 1; if(window.location.hash) { var hash = parseint(window.location.hash.replace("#", ""), 10); = hash + 1; } if(!window.location.hash || hash < 1000) { $('#target').trigger('click'); window.location.hash = i; window.location.reload; } });
but why want this?
Comments
Post a Comment