hi all,

  i have a multiple select box. and i load data from a db... i have set 8 rows visible... now what i want to do is... iwant to allow users to scroll down the list but should not allow them to make changes..

if i set the select box disabled i'm not able to scroll down... can anyone pls help me... thanks..

sumathi..

    Well select doesn't have a readonly attribute because select is only a continer for it's options. The best workaround I could think of for this would be to use a textarea instead, one option per line with a readonly attrinbute.

      hi,

      thanks for ur suggestion. i tried it & it satisfied my needs. thank u again. keep going on....great!

      sumathi

        well... for some reason...at my side the select box is not open for users to change. users can just 'select' the options displayed to them. but however if u have a select box that can be manipulated by the users...the readonly attribute shud work for it too.
        PS:i checked up on the msdn site and didnt find any readonly attribute for <select>...meaning that the select box is readonly.

          Write a Reply...