Creating rows from JSON data I am getting data from JSON and then create rows of it:

        $.each(data.GetwebMethodResult, function (index, item) {
        $("#TableABC").append(FunABC(item.aID, item.b, item.c, item.d, item.e, item.f));
        });

function FunABC(a, b, c, d, e, f) {
    var row =
        "&lt;tr class='Row' onclick=\"AnotherUnrelatedFunction('" + a + "' , '" + b + "', '" + c + "', '" + d + "', '" + e + "', '" + f + "')\"&gt;" +
        "   &lt;div class='mr'&gt;" +
        "       &lt;td class='mc mci'&gt;" +
        "           &lt;div class='mcit'&gt;" + a + "&lt;/div&gt;" +
        "       &lt;/td&gt;" +
        "   &lt;/div&gt;" +
        "&lt;/tr&gt;";

    return row;
}


Is there any better way of doing it?
Not really. It hard to optimize something with little logic. You could do this instead:

var row =
    "&lt;tr class='Row' onclick=\"AnotherUnrelatedFunction('" + a + "' , '" + b + "', '" + c + "', '" + d + "', '" + e + "', '" + f + "')\&gt; \
       &lt;div class='mr'&gt; \
           &lt;td class='mc mci'&gt; \
               &lt;div class='mcit'&gt;" + a + "&lt;/div&gt; \
           &lt;/td&gt; \
       &lt;/div&gt; \
    &lt;/tr&gt;";


But aside from that looks good!