<html> <head> <title>getElementsByName example</title> <script type="text/javascript"> function validate(){ if (document.getElementById("txt_username").value == ""){ alert("Enter the username"); document.getElementById("txt_username").focus(); } else { alert("Everything Okay"); } } </script> </head> <body> Username: <input type="text" id="txt_username" /> <button onclick="javascript:validate();">Validate</button> </body> </html>
Do you want to delete a "" lesson. Warning! This delete will remove all it's sub lessons and contents.
Do you want to delete a "" sub lesson. Warning! This delete will remove all it's contents.
Do you want to delete content.
Do you want to remove selected book from favorite books.
Do you want to delete selected author from your authors list.