I want to open - https://myUI:88/openURL/ (e.g.: On click of a button, it should redirect to this https://myUI:88/openURL, like it happens in payment gateway) and then, I have to pass the below user script to that:
getRealData('{"mailing":{"postalCode":"111","city":"NJ"},"terminal":"222"}');
How to achieve this in AJS 1.x?
getRealData is a public method in https://myUI:88/openURL web app