social_experiment wrote:wvoyance wrote:retype? You simply need to copy and paste. I don't believe it will wok.
I did copy and paste it. Then i retyped it and it worked; 9.0.8112.16421 is the same version is use.<html>
<head>
<title>Testing onChange again</title>
</head>
<body>
<script type="text/javascript" ><!--
function foo(str)
{
alert(str);
}
//--></script>
<form method="get" >
enter one ISBN:
<input type="text" name="field1" onchange="foo(this.value);" />
<button type="submit">Submit</button>
</form>
</body>
</html>
Here is a snippet i created from scratch; it also works in IE 9
o.k. I have got your version done.
It is because my browser blocked active code.
But my version still cannot.
What is the difference?
<html>
<head>
<title>insert many books</title>
</head>
<body>
<script type="text/javascript"><!--
function start(str){
alert("enetr start");
}
//--></script>
<form method="get">
enter one ISBN:
<input type="text" name="fisbn"
onChange="start(this.value)">
<button type="submit">Submit</button>
</form>
</body>
</html>
