Guest User

yryr

a guest
Mar 29th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. new Ajax.Updater('shipping-estimate-results', estimationUrl, {
  2. parameters: parameters,
  3. onComplete: function() {
  4. console.log("ajax updater worked");
  5. $('#shipping-estimate-loading-message').hide();
  6. $('#shipping-estimate-results').show();
  7. $('#unique_id').hide();
  8. }
  9. });
  10.  
  11. new Ajax.Updater('shipping-estimate-results', estimationUrl, {
  12. parameters: parameters,
  13. onComplete: function() {
  14. console.log("ajax updater worked");
  15. $('shipping-estimate-loading-message').hide();
  16. $('shipping-estimate-results').show();
  17. $('#unique_id').hide();
  18. }
  19. });
  20.  
  21. $(document).ready(function(){
  22. $('check1234').on('click', function(){
  23. $('#unique_id').hide();
  24. $('#shipping-estimate-results').show();
  25. });
  26. });
Add Comment
Please, Sign In to add comment