robinhodemorais 21 Posted February 5 Share Posted February 5 I have a function in javascript where I wanted to trigger the return of it to mainmForm, but I'm not getting it, how to do it? I'm trying that way function hashPagSeguro() { PagSeguroDirectPayment.onSenderHashReady(function (response) { if (response.status == 'error') { console.log(response.message); return false; } var hash = response.senderHash; ajaxRequest(MainmForm,'senderHash', ['hash='+hash]); console.log(hash); }); } but I am having this error Quote Link to post Share on other sites
robinhodemorais 21 Posted February 5 Author Share Posted February 5 got it top.ajaxRequest(top.MainmForm.form,'senderHash', ['hash='+hash]); Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.