Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form id="form1" name="form1" method="post">
- Search Type:
- <label>
- <input name="SearchTypeSelect" type="radio" id="SearchTypeSelect_0" onlick="showComputerForm()" value="computer"/>
- Computers</label>
- <label>
- <input type="radio" name="SearchTypeSelect" value="license" onclick="license()" id="SearchTypeSelect_1"/>
- Licenses</label>
- </form>
- jscript:
- function license() {
- document.getElementById("formLicense").style.visibility = "visible";
- document.getElementById("formComputer").style.visibility = "hidden";
- populate();
- }
- function showComputerForm() {
- document.getElementById("formComputer").style.visibility = "visible";
- document.getElementById("formLicense").style.visibility = "hidden";
- alert("ok");
- }
Advertisement
Add Comment
Please, Sign In to add comment