i have html code how can i select by ID and click this link: <td> Active </td> <td><input class="checkbox approved" id="gig_" name="gig[]" type="checkbox" value="298038"/></td></tr> <input type="hidden" name="subme" value="1"/></tbody> Code (markup):
The code is also horrible. If you're looking for a way to auto-submit the form, then that can be done, but it would be better to see the whole code. I'm assuming that the submit-button gets visible if that checkbox (or maybe several checkboxes) are set?
Are there other inputs in the form you want submitted when that box is checked? If not, don't use a form; use an anchor and pass it as getData. If there are other inputs, what you'll want to do is hook "onchange" on that checkbox, then look for the parent form and do a Form.submit() on that.
i need to submit form html code of form is: how can i to click on this form can i use getElementByID ? class="#" method="post"> You can bump 5 services per 24 hours. <br/><br/><input type="hidden" name="manualbump" value="1"><input type="submit" name="verifybutton" class="btn btn-danger negativetopbump" value="Free Bump" id="manualverify"></form>
Your question still doesn't make any sense as 1) you're not showing the complete form (specifically the ACTION attribute!), 2) not sure what you are doing that would even NEED scripting for. Instead of post, use get, then you could just: <a href="action.php?manualbump=1&vertifybutton=Free%20Bump">Bump Services for 24 hours</a> Then you can click on it... NOT that you can't click on a submit... WAIT... when you say click do you actually mean "click on it with the mouse" or are you simply trying to submit the form from scripting? (which has absolutely nothing to do with "clicking" on anything...)