Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - JavaScript Error on Search
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

JavaScript Error on Search

 Post Reply Post Reply
Author
AragornCaM View Drop Down
Newbie
Newbie
Avatar

Joined: 25 June 2003
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote AragornCaM Quote  Post ReplyReply Direct Link To This Post Topic: JavaScript Error on Search
    Posted: 25 June 2003 at 9:32am

When I enter a value to Search for on the Search page of my WWF, I get the following Java error:

Java Script Error
Description:'document.frmSearch.KW.value' is null or not an object
Source:search_forum.asp?FID=5
Line:18

See More Details?
Ok / Cancel

Whether I hit Ok or Cancel, the search runs, and gives valid results, so I know the keyword value is being passed and the search itself is running, so why am I getting the eorror?

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 25 June 2003 at 11:09am
It could be a corrupted file, you haven't fully upgraded the files from a previous version, or you are using a 3rd party mod that is not correct.
Back to Top
AragornCaM View Drop Down
Newbie
Newbie
Avatar

Joined: 25 June 2003
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote AragornCaM Quote  Post ReplyReply Direct Link To This Post Posted: 25 June 2003 at 12:09pm

Hmm. As far as I know, nothing has been modified in the search.asp and search_forum.asp files themselves.  The frmSearch exists and works.  I have another search that appears in the header, but it has a different name than the WWF one.  And the forum is new install, not an upgrade.

Ok. I copied and pasted the CheckForum javascript function from this forum's forum_search.asp page into mine, and that fixed it. 

Thanks for your help!

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.