Re: What am I doing wrong here. Simple statement. Novice Question.
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: What am I doing wrong here. Simple statement. Novice Question.

From: Jayme Pechan <jayme.pechan@whitefeld.com>
Date: Wed Aug 31 2005 - 23:58:42 CEST

Try:

<SCRIPT language="JavaScript">
if (ifp=="")
{
 ifp="default.htm";
}
</SCRIPT>

"Dave Anderson" <GTSPXOESSGOQ@spammotel.com> wrote in message
news:11fhc1gr1gvj964@corp.supernews.com...
> akarl wrote:
>>> HI! I get an error with this code.
>>>
>>> <SCRIPT language="JavaScript">
>>> If (ifp==""){
>>> ifp="default.htm"}
>>> //--></SCRIPT>
>
> You misspelled "if" (Javascript is case-sensitive).
>
>
> --
> Dave Anderson
>
> Unsolicited commercial email will be read at a cost of $500 per message.
> Use
> of this email address implies consent to these terms. Please do not
> contact
> me directly or ask me to contact you directly for assistance. If your
> question is worth asking, it's worth posting.
>
>
>
Received on Tue Oct 18 03:15:36 2005