SyntaxFix
Write A Post
Hire A Developer
Questions
Use this:
document.write('<td width="74"><button id="button" type="button" onclick="myfunction('" + name + "')">click</button></td>')