22 lines
379 B
JavaScript
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);
|
||
|
|
});
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
});
|
||
|
|
|
||
|
|
|