0 LIKES LikeUnLike
I have a table with data and an input form. When I find a value within range in the table, I want to click the action button (which is always the next element in the table).This isn't working. Can anyone help?var x=document.getElementsByTagName("td"); //grab all the table elementsfor (i=0;i<40;i++){ //check each elementif (x[i]<200) {x[i+1].click();}; // if under 200, then take action}
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 1 answers.