Advertisement
Guest User

Untitled

a guest
Apr 7th, 2016
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. enter code here
  2.  
  3. <object style="height : 1200px;width : 1300px;overflow:hidden;">
  4. <form id="frm" action="http://XXX/?username=ZZZ_UserName&password=PWD&retUrl={/apex/response}" method="POST">
  5.  
  6. // <input type="hidden" id="username" value="ZZZ_UserName"/> //Tis input tag not working, so directly passed Username and password in action only.
  7. // <input type="hidden" id="password" value="PWD"/>
  8. // <input type="Json" id="JSON" value="('{!fleet_Car_Set__c.JSON_String__c}')"/>---
  9. </form>
  10. </object>
  11. <script>
  12. alert("Inside Script");
  13. alert('{!Fleet_Car_Set__c.JSON_String__c}');//---Here we are getting full JSON data, need to post this JSON to External System(http://XXX/).
  14. document.forms["frm"].submit();
  15. </script>
  16. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement