Search Results

Cross Browser Window – Open In Javascript

Now a days, browser dependent scripts like javascript create problems due to the varieties of clients and versions of different browsers. So, the programmers or the web developers should be alert to implement such scripts on web. The scripts should be necessarily cross browser compatible …..
Check the simple window.open function….
var myPopupWindow = ”;
function openPopupWindow(url)
{
//If it [...]

Handling forms in Javascript

This lesson will give an idea how to start using javascripts in forms
<HTML>
<BODY>
<SCRIPT LANGUAGE=javascript>
<!–
     function f1(){
     document.write(MyForm.name,”<Br>”,MyForm.textname.value,”<Br>”,MyForm.length)
     }
//–>
</SCRIPT>
</BODY>
<FORM action=”” method=POST name=MyForm onclick=”f1()”>
<INPUT type=”text” name=textname value=”Broken Arrow”>
</FORM>
</HTML>

Alert in Javascript

This lesson will help the beginners to handle alerts in JavaScripts
<html>
<head>
<script language=”javascript”>
<!–
function f1()
 {
 alert(“Skill Hut”); // Message ‘Skill Hut’ will be displayed
 }
–>
</SCRIPT>
</head>
<body color=white>
Move your mouse over <a href=”” onMouseover=”f1()”>here</a>
</body>
</html>