Results 1 to 2 of 2

Thread: Search Maker Pro Insert help

  1. #1
    Join Date
    Dec 2012
    Posts
    15
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Unhappy Search Maker Pro Insert help

    I am trialling a program called Search Maker Pro to help me build a custom search engine.

    Software seems to work fairly well. It indexes all content and creates a simple html page using a simple form and javascript.

    I already have search form on my pages. What I would like to do is save all the javascript within one javascript file and tell my form to execute it.

    Have a look at what I have tried to do at http://www.kenwhitesigns.co.uk (only trying with the home page at the mo). I have told the form that the "action" is "search.js" but when I execute the search bar with a search term, this just displays the .js file. I know the script works, because if I insert it in the header of the page and execute the script using the 'action' method shown at the bottom of search.js, the search works.

    Obviously I do not want to go through all the pages and insert all this script in every page because in future I would just like to update the .js file when I reindex the site.

    This is probably really simple but I have never used JS before and only started teaching myself HTML about 3 months ago in order to build this website.

    Any help would be much appreciated.

  2. #2
    Join Date
    Dec 2012
    Posts
    15
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    I just want to be able to execute the Javascript in an external file using a form 'action' or 'command'

Similar Threads

  1. Replies: 2
    Last Post: 06-07-2011, 10:41 PM
  2. Replies: 0
    Last Post: 04-06-2008, 08:57 PM
  3. Automaticlly insert to database what typed in search
    By allahverdi in forum MySQL and other databases
    Replies: 1
    Last Post: 08-12-2007, 04:16 PM
  4. I need help please...or a wig maker
    By sassysarah in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 05-08-2007, 10:15 PM
  5. how to insert search engine
    By joycie in forum PHP
    Replies: 0
    Last Post: 03-08-2007, 11:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •