i copied this into my head
<script>
function searchPrompt(obj)
{
var rsp = prompt("Enter a value to search for.",""
;
if(rsp) obj.value = rsp.toUpperCase();
}
</script>
then added this to my button
<input type="button" value="Search this menu" onclick="searchPrompt(this.form.txtstudent)">
i dont get an error, but when i type in a know value i dont get any results?
Sorry to be such a pest, i have ie 5
Amanda
<script>
function searchPrompt(obj)
{
var rsp = prompt("Enter a value to search for.",""
if(rsp) obj.value = rsp.toUpperCase();
}
</script>
then added this to my button
<input type="button" value="Search this menu" onclick="searchPrompt(this.form.txtstudent)">
i dont get an error, but when i type in a know value i dont get any results?
Sorry to be such a pest, i have ie 5
Amanda