api
This commit is contained in:
9
frontend/web/js/company_select.js
Normal file
9
frontend/web/js/company_select.js
Normal file
@ -0,0 +1,9 @@
|
||||
$(document).ready(function (){
|
||||
$('#company_select').on("change", function(){
|
||||
$.ajax({
|
||||
url: "/product_category/product-category/get-category-select-by-company-id?company_id=" + $(this).val()
|
||||
}).done(function(html) {
|
||||
$('#category_select_container').html(html)
|
||||
});
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user