User Profile

Collapse

Profile Sidebar

Collapse
stinkysGTI
stinkysGTI
Last Activity: Mar 4 '08, 12:23 AM
Joined: May 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • stinkysGTI
    replied to Easy question about a drop down
    I found the problem just now.
    I changed the name of the drop down from 'number' to 'subscriptionNu mber' and now it works. I guess it was because number is a reserved js name, but I wasn't getting any errors regarding that.
    See more | Go to post

    Leave a comment:


  • stinkysGTI
    replied to Easy question about a drop down
    I also tried this:
    var subscriptions = document.FrontP age_Form1.numbe r.options[document.FrontP age_Form1.numbe r.selectedIndex].value;
    See more | Go to post

    Leave a comment:


  • stinkysGTI
    started a topic Easy question about a drop down

    Easy question about a drop down

    I'm trying to get the value from the selected option in a drop down and multiply it by another. The values of this particular drop down are numbers, but I keep getting NaN. Here's the script I'm trying to use:

    function calcTotal5(){
    var seating = document.FrontP age_Form1.price .value;
    var subscriptions = document.FrontP age_Form1.numbe r.value; // problem is here
    var calculate = seating * subscriptions;
    ...
    See more | Go to post

  • I know this is a few months late, but I came across this post looking how to add a bookmark in Safari. Haven't found it yet, but here's a really useful script I found. It works for IE Win/Mac and Firefox Win/Mac - even Opera


    [CODE=javascript]function CreateBookmarkL ink() {

    title = document.title;
    url = window.location .href;

    if (window.sidebar ) { // Mozilla Firefox Bookmark
    window.sidebar. addPanel(title,...
    See more | Go to post
    Last edited by gits; Oct 23 '07, 06:16 PM. Reason: added code tags

    Leave a comment:

No activity results to display
Show More
Working...