Wednesday 27 June 2018

Mouse Over To select radio button or same like

Hi fried's normally what happens there some time we create forms for cust. cust required fast fill form fast so only mouse over to select an option. Code using JavaScript ------------------------------------------


 select MAC Plus tech 


code >>


<span id="radio-buttons">
    <input checked="check" class="tryout" name="example" type="radio" />
  
select   <input class="tryout" name="example" type="radio" />
  MAC  <input class="tryout" name="example" type="radio" />Plus
    <input class="tryout" name="example" type="radio" />tech
</span>
<script>
document.getElementById("radio-buttons").onmouseover = function (e) {
    e.target.checked = true;
}
</script>



  - Kishor M Sonawane

1 comment:

  1. It will be in addition a tremendous write-up i usually without a doubt liked inspecting. It's not actually inevitably day-to-day i usually build up the possibility to see all sorts of things. Typography Logo

    ReplyDelete

Thank You!!!

create and activate a Python virtual environment on macOS and Windows

create and activate a Python virtual environment on macOS and Windows: Prerequisites: Python 3: Ensure you have Python 3 installed. You ca...