Results 1 to 5 of 5

Thread: [RESOLVED] recording values from [MM_jumpMenu]

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2009
    Posts
    156

    Resolved [RESOLVED] recording values from [MM_jumpMenu]

    HTML Code:
    <script type="text/JavaScript">
    <!--
    function MM_jumpMenu(targ,selObj,restore){ //v3.0
      eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
      if (restore) selObj.selectedIndex=0;
    }
    //-->
    </script>
    PHP Code:
    <select width="20" name="noMenu" onchange="MM_jumpMenu('parent',this,0)">
                  <?php $noNumbers 1; while($noNumbers<100){?>
                    <option value=""><?php echo $noNumbers?></option>
                  <?php $noNumbers++;}?>
                  </select><?php  echo $_REQUEST['noMenu']; ?>
    I'm trying to record what number some one has chosen from this drop down menu. any Idea on how I can improve this code?

    (I'm using the form the drop down box is on for somthing else and it is set to GET)
    Last edited by LingoOutsider; Jul 24th, 2009 at 04:00 AM.

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