Results 1 to 6 of 6

Thread: Javascript Code Needed

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2001
    Posts
    25

    Question Javascript Code Needed

    I only know HTML, so I would need a detailed response. I want to have a javascript which serves the same purpose as a shopping cart, but much less complicated. Nothing fancy, I want users to be able to add an item to a shopping basket (no prices or quantities, just the name of the item/service). Then show at the bottom part of the web page a table which shows the contents of the basket. I then want to have the contents of the basket shown on a seperate web page (the inquiry form) and have it in a format which can be sent through a CGI-Mail script.

  2. #2
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    Unless someone wants to write it for you, all I can suggest is the Rhino book (O'Reilly's JavaScript: The Definitive Guide by David Flanagan). It is a little old (June 1998), so it doesn't take into consideration the new DOM Standards set by the W3C and all the browser compatiblity issues you will run into.

    It will atleast give a good feel for JavaScript.
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2001
    Posts
    25

    Re: Javascript Code Needed

    Can someone at least give me a example of what the script should be coded like or a web site that gives examples or tutorials specifically towards the type of script I need?

  4. #4
    scoutt
    Guest
    I would suggest cgi or php as the shopping cart. much easier to play with and learn as far as I am concerned. Better security too. you can get cgi shopping carts at various free cgi scripts pages. to use php your server will have to be setup to use it.

    http://www.scriptsearch.com/

    or if you prefer a javascript shopping cart try this one. I have never used it so you would have to play around with it.

    Scoutt
    Attached Files Attached Files

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Mar 2001
    Posts
    25

    Thanks

    Thanks scoutt

  6. #6
    scoutt
    Guest
    no problem, Glad I could help

    Scoutt

Posting Permissions

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



Click Here to Expand Forum to Full Width