Advanced Search

Results 1 to 3 of 3

Thread: A very basic question

  1. #1
    Join Date
    Jun 2005
    Location
    Canada
    Posts
    68
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default A very basic question

    I have just put together my first retail site and since inventory fluctuates constantly, I need to be able to advise shoppers when items are temporarily unavailable. Rather than going through a thousand unsorted pages, I thought I could do this easier with javascript if I had a .js file set up for each product code and then I wouldn't have to go through each page in the site. Is this possible with Javascript? If so, what code would I put on the page where I want it to show and what code would I place in the .js file?
    I tried mucking about on my own but got lost and confused.

    I am obviously pretty new and apologize for the very elementary question.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,878
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    You'd do better with a database and a server-side script.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Jun 2005
    Location
    Canada
    Posts
    68
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default

    Okay, thanks!

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
  •