If I run this code below in ASP.NET 2.0 it fails with an "Object
Required" error and I have no idea why.
Could someone tell me why this is failing? Then if I can get an
answer to that, I would actually prefer to run a C# method instead of
a javascript one and would like to figure out how to set that up (but
I get the same error doing that too).
<select id="cbCarriers " onchange="javas cript: test();">
<option value='241'>3GP </option>
<option value='441'>AAC </option>
<option value='1115'>AB 1</option>
</select>
<script type="javascrip t">
function test()
{
alert("this");
}
</script>
Required" error and I have no idea why.
Could someone tell me why this is failing? Then if I can get an
answer to that, I would actually prefer to run a C# method instead of
a javascript one and would like to figure out how to set that up (but
I get the same error doing that too).
<select id="cbCarriers " onchange="javas cript: test();">
<option value='241'>3GP </option>
<option value='441'>AAC </option>
<option value='1115'>AB 1</option>
</select>
<script type="javascrip t">
function test()
{
alert("this");
}
</script>
Comment