I must add at this point that if at all possible eradicate the requirement for 2 javascript libraries.
Javascript libraries, though incredibly useful, are fairly large in size, and using two can raise all sorts of performance issues. As you stated you are a novice it think its more important that you work to use just one library, 1) getting used to a single library is a lot easier to handle, 2) it is very important to get into good practices early. If I had to choose between the two, I'd suggest you opt for JQuery, it's served me better historically than Prototype, but that is personal opinion. Regards Mark On Sep 9, 7:50 am, adeking <[EMAIL PROTECTED]> wrote: > Hi, > > I have read the documentation on using JQuery with other libraries by > using the Noconflict call. I have to admit to being a total novice at > this. > > I want to use Jquery to do a text replace on my search box for my site > - and I have lightbox working for my images. > > I cannot get the two libraries to work together. If I try to > implement both then only Lightbox will work. If I comment out > lightbox then JQuery works. > > The code from my head tag is below and here is the link > -http://www.macmillan-academy.org.uk/zeltha/index.php > > <script type="text/javascript" src="js/common.js"></script> > <script language="JavaScript" src="tabs/nav-h.js" type="text/ > JavaScript"></script> > > <script type="text/javascript" src="<?php print > $root."lightbox2.04/js/prototype.js"?>"></script> > <script type="text/javascript" src="<?php print > $root."lightbox2.04/ > js/scriptaculous.js?load=effects,builder"?>"></script> > <script type="text/javascript" src="<?php print > $root."lightbox2.04/js/lightbox.js"?>"></script> > <script type="text/javascript" src="<?php print $root."js/ > jquery.js"?>"></script> > <script language="JavaScript" src="<?php print $root."js/ > jquery.hint.js"?>" type="text/JavaScript"></script> > > <script type="text/javascript" charset="utf-8"> > var $j =jQuery.noConflict(); > $(function(){ > // find all the input elements with title > attributes > $('input[title!=""]').hint(); > }); > </script> > > Many thanks for your time.