Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.getJSON("../../carts/customer_name_val/" + pid + "&customer_name=" + customer_name + "?format=json",
- function(data) {
- if data['validity'] == true {
- $('#customer_name_val').html('<img src="/images/icons/tick-button.png" alt="*"/>');
- } else {
- $('#customer_name_val').html('<img src="/images/icons/cross-button.png" alt="*"/>');
- }
- }
- )
Add Comment
Please, Sign In to add comment