index.html both in same folder
<!DOCTYPE html>
<html>
<head>
<script src="js.js" ></script>
</head>
<body>
<script type="text/javascript">
ShowTime();
</script>
<div id="myDiv"></div>
</body>
</html>
js.js
function ShowTime()
{
document.write("dharambir");
}
javascript: top.location=document.getElementByName('return')[0].value; javascript:void(0);
<!DOCTYPE html>
<html>
<head>
<script src="js.js" ></script>
</head>
<body>
<script type="text/javascript">
ShowTime();
</script>
<div id="myDiv"></div>
</body>
</html>
js.js
function ShowTime()
{
document.write("dharambir");
}
javascript: top.location=document.getElementByName('return')[0].value; javascript:void(0);
No comments:
Post a Comment
Dharamart.blogspot.in