onclick

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

onclick

JuanPabloGárbora
Hi there, 

I am trying to click a radio button, but no luck yet. 

this is the Html + Javascript: 

<input type="radio" value="A" checked="" name="rbt" onclick="colX('X');return true">
<input type="radio" value="B" name="rbt" onclick="colX('Y');return true">
<input type="radio" value="C" name="rbt" onclick="colX('Z');return true">

I tried different approaches and no luck to "click" the radio button. 

Any ideas how to do this ?

thank you. 



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Htmlunit-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/htmlunit-user
Reply | Threaded
Open this post in threaded view
|

Re: onclick

asashour
Hi Juan,

Please post your complete page, with complete java code, so others can reproduce the issue.



Ahmed



From: JuanPabloGárbora <[hidden email]>
To: [hidden email]
Sent: Tuesday, December 6, 2016 2:54 PM
Subject: [Htmlunit-user] onclick

Hi there, 

I am trying to click a radio button, but no luck yet. 

this is the Html + Javascript: 

<input type="radio" value="A" checked="" name="rbt" onclick="colX('X');return true">
<input type="radio" value="B" name="rbt" onclick="colX('Y');return true">
<input type="radio" value="C" name="rbt" onclick="colX('Z');return true">

I tried different approaches and no luck to "click" the radio button. 

Any ideas how to do this ?

thank you. 

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Htmlunit-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/htmlunit-user