linuxfromscratch.org

Kevan Shea biffcool at zombieworld.com
Thu May 9 10:15:15 PDT 2002


On Thu, May 09, 2002 at 12:25:52PM -0400, Gerard Beekmans wrote:
> On Thu, May 09, 2002 at 12:10:46PM -0400, timothy bauscher wrote:
> > <a class="link" href="javascript:document.forms[0].submit()">search
> > 
> > with
> > ----
> > 
> > <script language="Javascript"><!--
> > document.write('<a class="link"
> > href="javascript:document.forms[0].submit()">search</a>');
> > //-->
> > </script>
> 
> It doesn't work. In a javascript enabled browser the 'search' link doesn't
> show up now.
> 
> You can check http://lorien.linuxfromscratch.org:81 to see it
 
You're getting an unterminated string constant error.
Tim's email cut the script line in half.  Make sure the href line is on
the same line as the document.write command.

-- 
Kevan Shea

"Industrious people create industry.
Lazy people create civilization."
--Hideo Nakamura
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-chat' in the subject header of the message



More information about the lfs-chat mailing list