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.
The forum of the forums
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* December 8th 2012, 12:02 pm

    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 December 8th 2012, 5:40 pm; 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* December 8th 2012, 5:37 pm

    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 December 8th 2012, 7:55 pm

    Topic Solved & Locked

      Current date/time is September 22nd 2024, 3:31 pm