The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Load input's content into a variable

View previous topic View next topic Go down

Solved Load input's content into a variable

Post by Proxy*64* on 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*
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* on December 8th 2012, 5:37 pm

thanks you are amazing!

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

Topic Solved & Locked

Base
Forumaster

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

http://forumotionhub.net

Back to top Go down

View previous topic View next topic Back to top


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