How can you make a javascript variable and use it with jQuery?
I use the following command unsuccessfully in trying to get the POST data out of the var answer. I can access the variable in HTML by $_POST['answer'].
var answer = $('#answer').val();
I use this variable in this code
jQuery('div.answer_' + $answer + ' a.delete_answer')
.live('click', function(){