Welcome Guest, Not a member yet? Register   Sign In
Input with disabled
#5

[eluser]brianw1975[/eluser]
[quote author="bretticus" date="1252925181"][quote author="ervinter" date="1252923125"]
If seem like cannot get the value when is has disabled=""

Anybody can assist me on how to get the value with disabled on input?[/quote]

Just curious why you need the value for a disabled form input. However, I think the browser doesn't pass it through anyway. If you really need it, perhaps you can use javascript to get the value and post it via ajax.[/quote]

But notice that he says:
Quote:disabled=""
not:
Quote:disabled="disabled"

different doctypes, different browsers, different results.

check http://www.w3schools.com/Xhtml/xhtml_syntax.asp

I think we need to ask: ervinter: what doctype are you using? and what browser(s) are you testing with?

EDIT: Finally, does the html page pass Validation?


Messages In This Thread
Input with disabled - by El Forum - 09-13-2009, 11:12 PM
Input with disabled - by El Forum - 09-13-2009, 11:46 PM
Input with disabled - by El Forum - 09-13-2009, 11:57 PM
Input with disabled - by El Forum - 09-14-2009, 03:01 AM
Input with disabled - by El Forum - 09-14-2009, 03:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB