Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


SuneelKumar Machha
impo
1 Answer(s)      3 years and 11 months ago
Posted in : JavaScript Questions


how we redirect page to particular url after cheching one checkbox


Advertisement
View Answers

January 12, 2011 at 3:37 PM


Hi Friend,

Try this:

<html>
<script>
function redirectPage(){
if(document.getElementById("check").checked){
window.location.replace("http://www.roseindia.net");
}
}
</script>
<input type="checkbox" id="check" onclick="redirectPage();">
</html>

Thanks



Related Tutorials/Questions & Answers:
 

 

 

DMCA.com