var newHTML2 = '<td><button onclick="changefield(\"'+obj[x]['unique_id']+'\")">Edit</button></td>';
<button 3")"="" onclick="changefield(">Edit</button>
var txt = obj[x]['unique_id']; var newHTML2 = '<td align=\"center\"><img onclick=\"changefield('+txt+')\" src=\"http://localhost/ci/application/styles/system_users/images/engine.png\"></td>';
Jump To Top of Thread