I would like to return all the text inside a textarea or an input as a variable on button click using jQuery or javascript.
A .select() function does not seem to do this, and spits out a lot of css properties when logged
How should I go about doing this?
This is it: