Load input's content into a variable Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
2 posters

    Load input's content into a variable

    Proxy*64*
    Proxy*64*
    Forumember


    Male Posts : 113
    Reputation : 6
    Language : English,Greek|HTML/CSS/jQuery

    Solved Load input's content into a variable

    Post by Proxy*64* Sat 8 Dec 2012 - 6:02

    Hello!
    Do you know how can I load a input's submited text into a javascript variable?

    Here the html

    Code:
    <input class="url" type="text"/>
    <button onclick="change();">
    Submit
    </button>

    and the variable

    Code:
    var links;

    thanks!


    Last edited by Proxy*64* on Sat 8 Dec 2012 - 11:40; edited 1 time in total
    Proxy*64*
    Proxy*64*
    Forumember


    Male Posts : 113
    Reputation : 6
    Language : English,Greek|HTML/CSS/jQuery

    Solved Re: Load input's content into a variable

    Post by Proxy*64* Sat 8 Dec 2012 - 11:37

    thanks you are amazing!
    Base
    Base
    Forumaster


    Male Posts : 10383
    Reputation : 1695
    Language : English and French
    Location : United Kingdom, England

    Solved Re: Load input's content into a variable

    Post by Base Sat 8 Dec 2012 - 13:55

    Topic Solved & Locked