daily pastebin goal
82%
SHARE
TWEET

Untitled

a guest Jan 24th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. function myFunction(){
  3.     location.href = 'path/to/java/method=with_some_parameters';
  4. }
  5. </script>
  6.    
  7. <script>
  8.  function myFunction(){
  9.   jQuery.ajax({
  10.    url:'path/to/java/method=with_some_parameters'
  11.    async:false,
  12.    success:function(data){
  13.    //nested ajax
  14.  
  15.    }
  16.   }
  17.  }
  18. </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top