iMacro: How do I click this? Is this java or something?

hawkweb

Regular Member
Joined
Aug 18, 2009
Messages
375
Reaction score
21
Hi
Been trying to figure what kind of button is this for days and imacro wont click it. Here is the code:
HTML:
<input id="action_50" class="boisTxt action" type="submit" value="save" name="action">

When I hover over it, it does not show any link and does not even has a image but it looks like a button with rounded corners. I think it's jquery or ajax or something.
If anyone with imacro knowledge knows this please help me identify this and provide code for imacro?

Thanks
 
I've never touched iMacros, but that's not a normal link. It's the submit button for a standard HTML form. The actual link you're sending data to can be found in the form tag, this is how it usually looks:

HTML:
<form method='post' action='/data/is/send/here.php'>
<input type='text' value='blahblah' name='somedata'/>
<input id="action_50" class="boisTxt action" type="submit" value="save" name="action">
</form>

Pressing the submit button (which on your screen has the text "save") will submit the form data (input fields, in this case there's a text field with the name 'somedata' and the value of 'blahblah') to the file 'here.php' (found in a subdirectory /data/is/send/).

So what you're looking for is to grab the action attribute from the form, that'll point you to the correct link.
 
Try recording the click and check recorded macro.
 
Impossible to say without looking at the source code, but yes that is obviously a styled submit button. It can still work in other ways, if you use preventDefault() when the button is clicked. So mm it can be anything...
 
Back
Top