<html>
<head>
<title>frame and button</title>
<script language="VBscript">
function sho(form)
{
	
	//document.writeln("click click boom!");
	//alert("clicked!);
	form.tex1.value="abc";

}
</script>
</head>
<body>
<form >
<input name="tex1" type="text"  value=" "><br><br>
<input name="button1"  type="button" value="click" onClick="sho(this.form);">
<input name="reset1" type="reset" value="clear">
</form>
</body>
</html>

What isn't working? What do you expect to happen? Please ask an actual question.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.