Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

make all fields read only in form

<form>
    <fieldset disabled="disabled">
        <input type="text" name="something" placeholder="enter some text" />
        <select>
            <option value="0" disabled="disabled" selected="selected">select somethihng</option>
            <option value="1">woot</option>
            <option value="2">is</option>
            <option value="3">this</option>
        </select>
    </fieldset>
</form>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fields #read #form
ADD COMMENT
Topic
Name
5+9 =