-
-
function clearDefault(el) {
-
if (el.defaultValue==el.value) el.value = “”
-
}
-
// Then call this function using the ‘onfocus’ value of your input box:
-
<input value=“Your Comment” onfocus=“clearDefault(this)” type=“text”>
-
-
-
<!– Add autocomplete = “off” in the form tag –>
-
<!– Example –>
-
<form name=“form1” id=“form1” method=“post” autocomplete=“off”
-
action=“http://www.example.com/form.cgi”>
-
[…]
-
</form>
-
-
Useful for displaying code snippets for example
-
pre {
-
white-space: pre-wrap; /* css-3 */
-
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
-
white-space: -pre-wrap; /* Opera 4-6 */
-
white-space: -o-pre-wrap; /* Opera 7 */
-
word-wrap: break-word; /* Internet Explorer 5.5+ */
-
}
-
-
Controler l’ordre des tabulations dans un formulaire HTML (attribut tabindex)
-
<title>Controlling TAB Order</title>
-
</head>
-
Field 1 (first tab selection):
-
Field 2 (third tab selection):
-
Field 3 (second tab selection):
-
</form>
-
</body>
-
</html>
“html” related tags
spirit’s tags
access apache apache2 apt arguments auditd auth awk backup backups bandwidth bash bridge cache cd charset cisco commands conversion cron css date debian debug default diff directories directory distance dns dom du eth ethernet excel exclude files find firefox flash forms function hacks headers history hosts htaccess html http https ie ifconfig images input ip javascript jobs kill latitude linux log logging longitude mac mail maps merge monitoring mysql network nginx openssl packages performance performances perl php red hat regex restore root route rpm script security server shell ssh ssl svn switch syslog tail trunk unix virtualhost vlan vmware windows yum