...

View Full Version : Page not working



stn003
07-29-2010, 05:47 PM
Hi,

I have a page here http://95.131.66.39/~pestcont/autosearch/form_new.html

As you will see in the product model number once you start typing the page looks up the info from the database.

The problem was the page was very long so i have taken the javascript and placed it in a seperate file, however now the auto look up doesn't work and i can not work out why.

The second page is here: http://95.131.66.39/~pestcont/autosearch/new_form.html

Any help would be appreciated.

thanks

tomws
07-29-2010, 06:20 PM
You forgot to check the page with Firebug, eh?

$ is not defined
http://95.131.66.39/~pestcont/autosearch/workings.js
Line 46
You didn't include jquery on the other page.

stn003
07-30-2010, 09:51 AM
HI,

Thanks for the reply i am pretty new to javascript and so please forgive me if i sound like a complete idiot but i am trying to learn.

Thanks I add the jquery link, with regards to the $ is it just a case of adding the path.

Thanks

Stn



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum