I am wondering how i can use entity representation to fill in the id in this code
var ID = $(this).attr("id");
var dataString = 'msg_id='+ ID;
//alert(ID);
var mssg = $('#'+"ID"').html();
$('#content').val(mssg);
My attempt var mssg = $('#'+"ID").html(); is wrong since the script won’t work now.What’s the correct way of doing this?.
should be the correct way, if I understand your question.