Posted on: 3/18/2015 1:24:03 AM | Views : 562


Hi,
Version : asp.net 4.5
I am working in website and i have user controls in my website. i need to call external website with post method using jquery. the reason is, i don't want my parameter passing to external site and for this post method will help to achieve this. I need to call the external website using post and need to load the page in iframe which is in the usercontrol. Am not sure how to load page in iframe using POST method.
Sample code : 
<script type="text/javascript"> $(document).ready(function(){ var login_processed = false; function (event) { if(login_processed != true) { event.preventDefault(); $.ajax({ url: "https://sample.com/index.php?/Login", type: "POST", cache: false, data: ({ email: "email@.com", ...

Go to the complete details ...