Search Result

Collapse
2 results in 0.0013 seconds.
Keywords
Members
Tags
option
  •  

  • Change hidden field value when dropdown list changes

    Hi,

    The problem is I have a list that i want to send to other file(php) but I want to send two corresponding variables. I was wondering if this is easy with the hidden field.

    Code:
    <select id='myselect'>
        <option value='1'>A</option>
        <option value='2'>B</option>
        <option value='3'>C</option>
        <option value='4'>D</option>
    </select>
    ...
    See more | Go to post

  • How to removed selected options via Javascript?

    I am new to javascript and this is all trial and error. When a user selects an option, the Id of teh option is added to a hidden form field, creating a list of id's. Each ID is displayed on the page. If you click the ID it should delete the id from the hidden form field and from view. The javascript below deletes the whole element. I have searched high and low but can not find anythning to help me remove the ID's when the user clicks the ID.
    ...
    See more | Go to post
    Last edited by Niheel; Jan 26 '11, 03:39 PM.
Working...