zachary Posted June 4, 2006 Share Posted June 4, 2006 In the html guide it should tell us how to disable forms.You can easly do it. Make something like this: <input type="" vaue="" name="" maxlength="" disabled> Link to comment Share on other sites More sharing options...
Jack McKalling Posted June 4, 2006 Share Posted June 4, 2006 (edited) But it does, if you check the Xhtml tutorial, and go to the taglist reference, at the input page it will say that "disabled" as an attribute is allowed In Xhtml it actually needs to have a value though.http://www.w3schools.com/tags/tag_input.aspOr do you mean in an example? Edited June 4, 2006 by Dan The Prof Link to comment Share on other sites More sharing options...
scott100 Posted June 4, 2006 Share Posted June 4, 2006 I think it should be written like this:<input type="" vaue="" name="" maxlength="" disabled="disabled"> Link to comment Share on other sites More sharing options...
Jack McKalling Posted June 5, 2006 Share Posted June 5, 2006 (edited) I think it should be written like this:<input type="" vaue="" name="" maxlength="" disabled="disabled" /><{POST_SNAPBACK}> In Xhtml it actually needs to have a value though.<{POST_SNAPBACK}> So I said, Scott That is the syntax for Xhtml Edited June 5, 2006 by Dan The Prof Link to comment Share on other sites More sharing options...
zachary Posted June 5, 2006 Author Share Posted June 5, 2006 So I said, ScottĀ That is the syntax for Xhtml <{POST_SNAPBACK}> It is there Never mind Link to comment Share on other sites More sharing options...
Skemcin Posted June 5, 2006 Share Posted June 5, 2006 technically, it should be written: <input type="xxxxxx" vaue="xxxxxx" name="xxxxxx" maxlength="xx" disabled="disabled" /> (don't forget the trialing forward slash on tags that have no closing tag) Link to comment Share on other sites More sharing options...
Jack McKalling Posted June 5, 2006 Share Posted June 5, 2006 (edited) And in the end, we come to fully agreement that the correct syntax of the input element is... <input type="xx" value="xx" name="xx" maxlength="xx" disabled="disabled" />(there was an "L" missing in one of the attributes too) Edited June 5, 2006 by Dan The Prof Link to comment Share on other sites More sharing options...
scott100 Posted June 5, 2006 Share Posted June 5, 2006 And finally not forgetting id should be used.<input type="xx" value="xx" name="xx" id="xx" maxlength="xx" disabled="disabled" />In XHTML the name attribute is deprecated. Use id instead.Note: To interoperate with older browsers for a while, you should use both name and id, with identical attribute values.I think that covers everything Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now