/    Sign up×
Community /Pin to ProfileBookmark

Need Help with Pulldowns

Hi,

I have a webpage with 3 frames, one of those frames has pulldowns in them and I can’t get them to work. Any help would be greatly appreciated. The website is [url]www.bostonspotlite.com[/url] the frame with the pulldowns is [url]http://www.bostonspotlite.com/bsframe8.html[/url]

Thanks in advance for your help!

Ric

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@mjdamatoNov 18.2006 — You have no opening FORM tag.

Plus there are problems in your function:

  • 1. You do not need to select the index and then get the value using the index, you could just reference the selected value directly.


  • 2. You set myindex = 0 and have the comment "reset pulldown menu". That won't reset the menu, that will jsut set the variable to 0.


  • Here is a revised function.

    function leapto(form){
    parent.right.location.href=(form.dest.value);
    form.dest.selectedIndex = 0; // reset pulldown menu
    }
    ×

    Success!

    Help @RicF964 spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.1,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,
    )...