Adding a link to a element while parsing json?
Another noob question/issue.....I am currently parsing a json file and appending the data to an HTML table. I need to make one of the name/value pairs (COPD_QUAL.FIN) display as a link within the table. Here is my function to append the data.... function createPatientTable(json) { $.each(json.LIST, function(i, COPD_QUAL) { $('.footable > tbody:last').append('<tr><td>' + COPD_QUAL.PATIENT + '</td><td><a href="javascript:APPLINK(0,"powerchart.exe","/PERSONID=8986122 /ENCNTRID=14150574")">' + COPD_QUAL.FIN + '</a></td><td>' + COPD_QUAL.NURSE_UNIT + '</td><td>' + COPD_QUAL.ROOM + '</td><td>' + COP
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.