From: Ahmed A. <asa...@ya...> - 2016-12-06 17:51:56
|
Hi Juan, Please post your complete page, with complete java code, so others can reproduce the issue. Sample cases can be found in http://htmlunit.sourceforge.net/xref-test/com/gargoylesoftware/htmlunit/html/HtmlElementTest.html Ahmed From: JuanPabloGárbora <jua...@gm...> To: htm...@li... 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. |