Click to See Complete Forum and Search --> : frame call results in 404


GoldDog
03-21-2003, 07:57 PM
I am calling a simple function after submitting a form:

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function results() {
parent.right.location.href = results.cfm;
}
// End -->
</script>

The odd thing is, even though the form, action template and results.cfm are all in the same directory, I get a 404 in my right frame. Anyone have any idea why I would get a 404 from such a simple call?

thanks

khalidali63
03-21-2003, 08:13 PM
you are missing qoutes around
results.cfm;

should be
"results.cfm";

Hope this helps

Cheers

Khalid

GoldDog
03-21-2003, 08:25 PM
It certainly does! Thanks Khalid.