nice trick, thanks :)

On Oct 22, 3:44 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Gday James
>
> Depending on how you are doing this, you could always change the name
> of the select and create a hidden value with the real name.  The if
> you are toggling between each change the names around.
>
> If available to use:
>
> <select name="myname">
> <options>....
>
> If not available:
>
> <select name="myname-dis" disabled="disabled">
> <options>....
> <input type="hidden" name="myname" value />
>
> Does that help ?
>
> Cheers
>
> On Oct 22, 5:35 pm, james_027 <[EMAIL PROTECTED]> wrote:
>
> > hi,
>
> > anyone has an idea to make select tag readonly since readonly attr is
> > not supported. Disabled is not a solution because it prevent the data
> > from being posted.
>
> > Thanks
> > james

Reply via email to