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

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

From: Paul <paul.dallaire@sympatico.ca>
Date: Sat Jul 23 2005 - 13:22:01 CEST

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?

Thanks in advance :)

Paul
Received on Tue Oct 18 03:00:19 2005