$(document).on("click", "[id*=lnkView]", function () {
$("#resultId").html($(".ResultId", $(this).closest("tr")).html());
**//$("#name").html($(".Name", $(this).closest("tr")).html());
//$("#description").html($(".Description",$(this).closest("tr")).html());**
$("#dialog").dialog({
title: "Analyze Result",
buttons: {
Ok: function () {
$(this).dialog('close');
}
},
modal: true
});
return false;
});
</script>
This is my script.
How do I link it to the database ?
I am completely new to javascript.