Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Question about Form "Mulitple Select" elements

  • 31-07-2002 03:11PM
    #1
    Registered Users, Registered Users 2 Posts: 14,157 ✭✭✭✭


    Hey guys,

    I wonder does anyone know how to recognise <select multiple> element input?

    Eg.
    <select name="blah" size=3 multiple onChange="functionName(options[selectedIndex].value)">
     <option value="" selected>None Selected</option>
     <option value="1">Num. 1</option>
     <option value="2">Num. 2</option>
     <option value="3">Num. 3</option>
    </select>
    


    Now .. the information being passed to the function "functionName()", always appears to be the first selected index item. How do I get it to recognise multiple entries?


Advertisement