<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to call PopUp from controller or javascript not by click in CIM? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-call-PopUp-from-controller-or-javascript-not-by-click-in/m-p/23527#M12661</link>
    <description>&lt;P&gt;I'm afraid that I'm not that familiar with the specific details of Ruby, but basic javascript can be added to the "onload" attribute for your page body.&amp;nbsp; Most javascript toolkits also have built in functionality that makes it easy to run functions when the page has completed loading.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2012 00:06:50 GMT</pubDate>
    <dc:creator>Trevor</dc:creator>
    <dc:date>2012-02-24T00:06:50Z</dc:date>
    <item>
      <title>How to call PopUp from controller or javascript not by click in CIM?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-call-PopUp-from-controller-or-javascript-not-by-click-in/m-p/23365#M12583</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Rails framework, I need to call the lightbox to add payment method by using AuthorizeNetPopup&lt;SPAN&gt;.&lt;/SPAN&gt;openAddPaymentPopup&lt;SPAN&gt;(). But based on the design, the popup should be triggered by other ways not by clicking the normal button.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, users click "signup" button, the server side can generate ProfileID, Token, and send the Token to page, but right now how can I automatically tirgger the&amp;nbsp;AuthorizeNetPopup&lt;SPAN&gt;.&lt;/SPAN&gt;openAddPaymentPopup&lt;SPAN&gt;() method to open the popup?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If I can refer to Ajax, but how can I call the above method in .js file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate any idea or suggestion!!! Thank you very much in advance!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2012 17:32:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-call-PopUp-from-controller-or-javascript-not-by-click-in/m-p/23365#M12583</guid>
      <dc:creator>wishluck86</dc:creator>
      <dc:date>2012-02-21T17:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to call PopUp from controller or javascript not by click in CIM?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-call-PopUp-from-controller-or-javascript-not-by-click-in/m-p/23527#M12661</link>
      <description>&lt;P&gt;I'm afraid that I'm not that familiar with the specific details of Ruby, but basic javascript can be added to the "onload" attribute for your page body.&amp;nbsp; Most javascript toolkits also have built in functionality that makes it easy to run functions when the page has completed loading.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2012 00:06:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-call-PopUp-from-controller-or-javascript-not-by-click-in/m-p/23527#M12661</guid>
      <dc:creator>Trevor</dc:creator>
      <dc:date>2012-02-24T00:06:50Z</dc:date>
    </item>
  </channel>
</rss>

