I'm trying to append the jquery variable into a div. When i click on the button with id #g noting shows up in my div.
$(document).ready(function() {
$("#g").click(function() {
var n = $('#g').val();
$('#sentence')append('n');
});
});
#gor if you're trying to get the html, etc..append?