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: akarl <fusionfive@comhem.se>
Date: Tue Aug 09 2005 - 04:42:47 CEST

Paul wrote:
> HI! I get an error with this code.
>
> <SCRIPT language="JavaScript">
> If (ifp==""){
> ifp="default.htm"}
> //--></SCRIPT>
>
> Basicly I want my iframe to have a default page if the user enters in
> directly. so I need a way doing this. so I check to see if the ifp value is
> null and if so then assign it a value. is this correct?

comp.lang.javascript
Received on Tue Oct 18 03:06:49 2005