實現的功能:在Jquery的Datatable表格中,需要顯示一列超鏈接的網址
代碼如下:屬性爲Central Bank website的部分爲實現功能代碼
{ title: "Central Bank Website", data: "centralBankWebsite", render: function (value, type, row) { if(value !=null){ return '<a href='+value+'>'+value+'</a>'; }else{ return ""; } } },