spirit posteets tagged input  [ Profile ]

Sort by: Date / Title /

  1. 9 years ago
    1. function clearDefault(el) {
    2.   if (el.defaultValue==el.value) el.value = ""
    3. }
    4.  
    5. // Then call this function using the 'onfocus' value of your input box:
    6.  
    7. <input value="Your Comment" onfocus="clearDefault(this)" type="text">
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1862"></script>
  2. 10 years ago
    Controler l'ordre des tabulations dans un formulaire HTML (attribut tabindex)
    1.   <title>Controlling TAB Order</title>
    2. </head>
    3.     Field 1 (first tab selection):
    4.     <input type="text" name="field1" tabindex=1 /><br />
    5.     Field 2 (third tab selection):
    6.     <input type="text" name="field2" tabindex=3 /><br />
    7.     Field 3 (second tab selection):
    8.     <input type="text" name="field3" tabindex=2 /><br />
    9.   </form>
    10. </body>
    11. </html>
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1553"></script>
  3. 11 years ago and saved by 1 other
    1. /* Pour avoir un style différent selon le type d'input que avez, utilisez la syntaxe suivante : */
    2. input[type~=text] {
    3.    /* vos rĂ©glages */
    4. }
    5.  
    6. /* text etant le type de l'input ( texte password button submit etc ) */
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/497"></script>
  4. sponsorised links

First / Previous / Next / Last / Page 1 of 1 (3 posteets)