The moose likes HTML, CSS and JavaScript and the fly likes html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "html" Watch "html" New topic


sanjaya das

Joined: Jan 01, 2001
Posts: 2
Here is a small simple HTML Program
The problem that I am facing is that this Program can't be Refreshed usinf refresh method
Please point out the Error and also a solution to this
Program:- <html>
<script language=javascript>
function v()
if (!isNaN(document.all.txt1.value))


<body >
<input type="text" name="txt1" value="">
<input type="button" name="bt1" value="hit" onClick="v()">

Frank Carver

Joined: Jan 07, 1999
Posts: 6920
I think this is really more appropriate to the "HTML and JavaScript" forum, so I've moved it.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
bill bozeman
Ranch Hand

Joined: Jun 30, 2000
Posts: 1070
I am not sure what you are referring to. Are you saying when you click refresh in the browser it is not refreshing your page? Also, you are missing your form tags, so the form elements won't appear in Netscape. You should add those to get this to look right on both browsers.
I agree. Here's the link:
subject: html
It's not a secret anymore!