• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

html

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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>
<head>
<script language=javascript>
function v()
{
if (!isNaN(document.all.txt1.value))
{
alert("Error")
}

}

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

------------------
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think this is really more appropriate to the "HTML and JavaScript" forum, so I've moved it.
 
Ranch Hand
Posts: 1070
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
Bill
reply
    Bookmark Topic Watch Topic
  • New Topic