get gadget

featured-content2

featured-content2

featured-content2

About Me

Footer

javascript:void(0)

What's Next?

  • Digg it
  • Stumble it
  • Save This Page
  • Leave a comment
  • Subscribe to My Blog
  • Skill and Learn - Ask users for input programmatically.

    Diposting oleh intermartku Rabu, 01 Mei 2024
      Input Tag
    Input tag is the most easy way to ask for user input as it can be configured in multiple ways in style and use.
    The webmaster can edit the text and how it's shown to the user.


    <input name="text" id="example1" placeholder="http://www.example.com" style="width:100%" spellcheck="false" autocomplete="off">



    What does it mean?

    <input name="text">
    Defines the input type

    id="example1"
    Save the user input as example1.

    placeholder="http://www.example.com"
    Show http://www.example.com on input until user enter keywords.

    style="width:100%"
    Expand the input to 100%. To fit in a box, etc.

    spellcheck="false"
    Disable spellcheck.

    autocomplete="off">
    Disable autocomplete.


    Prompt
    Super is easy to use and it shows a console to the user asking for input.
    The webmaster can edit the text and how it's shown to the user.


    var keyword = prompt("Type something to search!\n\nHacxx code.", "");


    What does it mean?

    var keyword
    Save any input from the user as keyword var.

    prompt("Type something to search!\n\nHacxx code.", "");
    Initiate prompt, show the text and if the webmaster want to add text to the input use the last , "");

    Note: \n - New line. (Good for styling)  

    0 Responses to Skill and Learn - Ask users for input programmatically.

    Posting Komentar

    Good Comment

    Skill and Learn - Ask users for input programmatically.

      Input Tag
    Input tag is the most easy way to ask for user input as it can be configured in multiple ways in style and use.
    The webmaster can edit the text and how it's shown to the user.


    <input name="text" id="example1" placeholder="http://www.example.com" style="width:100%" spellcheck="false" autocomplete="off">



    What does it mean?

    <input name="text">
    Defines the input type

    id="example1"
    Save the user input as example1.

    placeholder="http://www.example.com"
    Show http://www.example.com on input until user enter keywords.

    style="width:100%"
    Expand the input to 100%. To fit in a box, etc.

    spellcheck="false"
    Disable spellcheck.

    autocomplete="off">
    Disable autocomplete.


    Prompt
    Super is easy to use and it shows a console to the user asking for input.
    The webmaster can edit the text and how it's shown to the user.


    var keyword = prompt("Type something to search!\n\nHacxx code.", "");


    What does it mean?

    var keyword
    Save any input from the user as keyword var.

    prompt("Type something to search!\n\nHacxx code.", "");
    Initiate prompt, show the text and if the webmaster want to add text to the input use the last , "");

    Note: \n - New line. (Good for styling)  

    Bookmark and Share

    0 komentar:

    Posting Komentar

    Good Comment

    Be the first to announce the news!!

    About This Blog

    l

    mau dapat traffic yang bagus free

    Free Advertising - Get millions of visitors for your website for FREE!
    ipt>
    gabung di paypall dapatkan uang dengan mudah klick di sini
    Sign up for PayPal and start accepting credit card payments instantly.
    --

    About Me

    Upload n Get money