It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Send click event from URL

Send click event from URL

Postby Kiti on Wed Aug 13, 2008 3:43 pm

First of all I'd like to say hello to everyone!

I have this code:

Code: Select all
<span class="smallfont">
<input type="radio" onclick="this.form.submit();" value="someValue" name="someName"/>
<br/>
</span>


Now, when I check that radio box, something happens. My question is, how can I simulate a click there only using a modified URL?
I know this is possible. This is an example in which you have to copy&paste this over an existing URL:
Code: Select all
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200;DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style;DIS.position='absolute'; DIS.left=Math.sin (R*x1+i*x2+x3)*x4+x5;DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0);

After you press enter, all the pictures start moving like a toy train in a circular motion.


So, it's possible. But how?

Edit: So basically I want to submit a javascript function through a http request :)

Thank you very much for your help!
Regards,
Kiti
Kiti
 
Posts: 0
Joined: Wed Aug 13, 2008 3:32 pm

Who is online

Users browsing this forum: No registered users and 6 guests