Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- url: '/get_items',
- method: 'POST',
- data: { item_id: item_id },
- success: function (response) {
- alert(JSON.stringify(response.result[0].name));
- $('#hidden_item_item_id').val(response.result[0].id);
- $('#item_name').val(response.result[0].name);
- $('#item_remarks').val(response.result[0].remarks);
- $('#updateItemsModal').modal('show');
- }
- });
Add Comment
Please, Sign In to add comment