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.

Load input's content into a variable

2 posters

Go down

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

http://fataola.forumgreek.com

Back to top Go down

Solved Re: Load input's content into a variable

Post by Proxy*64* December 8th 2012, 5:37 pm

thanks you are amazing!
Proxy*64*
Proxy*64*
Forumember

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

http://fataola.forumgreek.com

Back to top Go down

Solved Re: Load input's content into a variable

Post by Base December 8th 2012, 7:55 pm

Topic Solved & Locked
Base
Base
Forumaster

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

http://forumotionhub.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum