Hi,
I am using datatables & the dataset contains a huge link, which is displayed in the cell of the table. My json data contains the foll:-
Since the link displayed in the table doesnt look too good, hence am looking to use a button instead of the link to be displayed in the table.
When the user clicks on the button It would take him to that relevant link.
The button html I would be using would be as follows;-
Any help on this is appreciated. Thanks for looking.
I am using datatables & the dataset contains a huge link, which is displayed in the cell of the table. My json data contains the foll:-
{ "aaData": [ ["Application 1","http://someurl/abc/def/something1.html"], ["Application 2","http://someurl/abc/def/something2.html"], ["Application 3","http://someurl/abc/def/something3.html"], ["Application 4","http://someurl/abc/def/something4.html"], ["Application 5","http://someurl/abc/def/something5.html"], ["Application 6","http://someurl/abc/def/something6.html"], ] }
Since the link displayed in the table doesnt look too good, hence am looking to use a button instead of the link to be displayed in the table.
When the user clicks on the button It would take him to that relevant link.
The button html I would be using would be as follows;-
<input class="button" type="button" onclick="window.location.href='http://someurl/abc/def/something4.html'" value="Link">
Any help on this is appreciated. Thanks for looking.