সম্পাদনা
<!DOCTYPE html> <html> <body> <button onclick="execute()">click to view result</button><br> <form action="index.php" method="post"> <label>আপনার নাম</label> <input type="text" name="name"><br><br> <label>আপনার দেশ</label> <input type="text" name="land"><br><br> <input type="submit" name="submit" value="সেভ করুন"> </form> <script> function execute() { document.forms[0].style.border = "1px solid"; } </script> </body> </html>
পূর্বরূপ