Hi,
Is there any possible way to get parameter values from the disabled
<select> of html.
Thanks in Advance!
|
|
0
|
|
|
|
Reply
|
askjavaprogrammers (31)
|
4/9/2007 1:50:09 PM |
|
Meendar wrote:
> Hi,
>
> Is there any possible way to get parameter values from the disabled
> <select> of html.
>
>
> Thanks in Advance!
>
Yes, but your question is too broad.
Mick
|
|
0
|
|
|
|
Reply
|
Michael
|
4/9/2007 3:07:43 PM
|
|
"Michael White" <mick@mickweb.com> wrote in message
news:461a56bf$0$1386$4c368faf@roadrunner.com...
> Meendar wrote:
>>
>> Is there any possible way to get parameter values from the disabled
>> <select> of html.
Sure, but you realize a disabled SELECT is always going to have one and only one value,
and that is assuming you set it via script or the "selected" attribute.
For example:
<form id="form1" action="ng_disabled_selects_value.htm">
<p id="form1-p1">
<select name="select1" disabled="disabled">
<option value="option1">Option 1</option>
<option value="option2">Option 2</option>
<option value="option3" selected="selected">Option 3</option>
</select>
</p>
</form>
<p onclick="alert(document.forms['form1'].elements['select1'].value);">current value</p>
> Yes, but your question is too broad.
What was so "broad" about it?
-Lost
|
|
0
|
|
|
|
Reply
|
Lost
|
4/12/2007 1:17:21 PM
|
|