Sign in to follow this  
Followers 0
karlkar

Ajax query

3 posts in this topic

That is my html:

<form id="price20" onsubmit="xajax_listResearches(1,1,xajax.getFormValues('price20'));SetFocusTop(); return false;">
<input type="hidden" name="build_id" value="20"/>
<span class="button">
<button type="submit" value="Badanie" title="Badanie" name="in" tabindex="5">
Badanie
<em/>
<i/>
</button>
</span>
</form>

I want to make this ajax query without clicking submit button. How can I make it?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Wrong website I think. This is for AutoIt, not HTML or Ajax....

*edit*

if you wish to use AutoIt to perform this action, then look into writing a script with the IE functions in the helpfile. There's some that will autoclick for you.

If you aren't using Internet Explorer, then we'll have to figure out a workaround and see if ControlClick or some other mouse-click function will work.

*another edit*

_IEFormSubmit might work in this case. If you are familiar with AutoIt, try it out. If not, check out the helpfile and the tutorials to get the hang of it. try a small script and feel free to ask questions if you get stuck :D

Edited by kaotkbliss

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

Of course I would like to make it in AutoIt using Internet explorer :D The main problem is that this form shows up only after a click on the flash object. That's why I don't want to submit this form but only execute this script :oops:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0