Archive for the ‘ Javascript ’ Category
We come across various time that we need to change the form action according to the Event Let me provide a simple JavaScript Example which will help you Here is the javacript code below <script> function onchangeaction(v){ if(v==”mango”){ document.getElementById(“mangoabc”).style.display=”"; document.getElementById(“bananaabc”).style.display=”none”; } else{ document.getElementById(“bananaabc”).style.display=”"; document.getElementById(“mangoabc”).style.display=”none”; } } </script> And in the body section code: <form action=”" [ READ MORE ]
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 7 other followers
Get every new post delivered to your Inbox.