I have this code:
<label style="display: inline; " for="default">
<img class="ful" src="http://www.mysite.com/default.png" />
<input style="display:none" id="default" name="selected" type="radio" value="template" onclick="SubmitValue();" />
</label>
I need to trigger the onclick or click on the code above but clicking on another anchor elsewhere.
Can this be done?
From jQuery you would just say
Demo: http://jsfiddle.net/SHYDe/
There’s an example of this on the jQuery
.click()doco page.