jquery selector with text value code example
Example: store the text from a form jquery
$('form').submit(function(e) {
e.preventDefault();
var input = $('#search').val();
$('p').append(input);
});
$('form').submit(function(e) {
e.preventDefault();
var input = $('#search').val();
$('p').append(input);
});