Here is the view I have created using .NET MVC3
:
function DisplayingGrid () {
var Geo=$('#ddlGeo').val();
var Vertical=$('#ddlVertical').val();
var Month=$('#ddlMonth').val();
if(Vertical=="All")
{
var Flag=1;
}
else
{
var Flag=2;
}
$.ajax({
url:"@Url.Action("TRUnutilizedOwnershipChange", "TravelReady")",
datatype:"html",
type:"post",
data:{strGeo:Geo,strVertical:Vertical,intMonth:Month,intFlag:Flag},
error:function(){},
success:function(data){
$('.travTableContent').empty();
var text3=data.data.lstunutilizedownershipentities;
for( var item in text3)
{
$('<tr />').html(text3[item]).appendTo('.travTableContent');
$('<td />').html(text3[item].CurrentOwnership).appendTo('.travTableContent');
$('<td />').html(text3[item].cnt).appendTo('.travTableContent');
}
}
});
}
I am looking to retrieve the count value from this specific line:
$('<td />').html(text3[item].cnt).appendTo('.travTableContent');
If I want to style this as a link, what CSS properties can be applied to $('<td />')
for achieving that effect?