cmc-sales/webroot/js/costing_dialog.js
2010-05-04 16:49:57 +10:00

22 lines
379 B
JavaScript

$(function() {
/*
* Fetch the costing add form. Place it in element ID 'costingdiv'
*
* @todo - write a plugin that generalises the method. It would be handy with the cake way of doing things
*
*/
function AjaxFetchPage() {
$.post("/costings/", $("#LineItemQuoteId").serialize(), function (itemTable) {
$("#productTable").html(itemTable);
});
}
});