xxx.js
tableCreationForQuoteItem();
function tableCreationForQuoteItem()
{
var html_str='';
html_str += '<table>';
html_str += '<tr>';
html_str += '<th>Item</th><th>Description</th><th>Unit Cost</th><th>Tax Rate</th><th>Unit Of Measurement</th>';
html_str += '</tr>';
html_str += '<tr>';
html_str += '<td>'+$('#Quote_quoteitem_name') +'</td>';
html_str += '<td>'+$('#Quote_description') +'</td>';
html_str += '<td>'+$('#Quote_unitcost') +'</td>';
html_str += '<td>'+$('#Quote_taxrate_value') +'</td>';
html_str += '<td>'+$('#Quote_uom_value') +'</td>';
html_str += '</tr>';
html_str += '</table>';
alert(html_str);
}
I am getting the alert. But I want to place this table in certain field like Quote_item. How this can be done? Someone help please.