I want to add table rows dynamically using jQuery/Javascript and I have used the following code but it's not working in Chrome. Any help?
function AddTextBoxes(label,parameter, paraId) {
strCode += "<tr><td>";
strCode += "<label id='" + label + "1'>" + label + "</label></td><td>";
strCode += "<input type='text' id=" + paraId +" value="+parameter.minValue + "-" + parameter.maxValue+ ">";
$("#" + paraId).attr('value', parameter.minValue + "-" + parameter.maxValue);
$("#" + paraId).attr('text', parameter.minValue + "-" + parameter.maxValue);
strCode += "</td></tr>";
}
var strCode = ''outside of the function?