<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 9, 2014 at 11:06 AM, Sebastian Sastre <span dir="ltr">&lt;<a href="mailto:sebastian@flowingconcept.com" target="_blank" class="vt-p">sebastian@flowingconcept.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">you’re not saying if url/someAPI is your server or not</div></blockquote><div><br></div>

<div>It can be any server, in my case, yes, I would like to use the same server/app from where I am using the plugin. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word"> and, if yours, if it’s a seaside app or not<div><br></div></div></blockquote><div><br></div><div>yes it is. And it must run in gemstone and pharo. </div><div><br></div><div>Note that the url can, of course, be specified. It is an ajax request. </div>

<div><br></div><div>Thanks, </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div></div><div><br><div><br><div><br>
</div>
<div><br><div><div><div><div>On Jul 9, 2014, at 10:57 AM, Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com" target="_blank" class="vt-p">marianopeck@gmail.com</a>&gt; wrote:</div><br></div></div>
<blockquote type="cite"><div><div><div dir="ltr">Hi guys,<div><br></div><div>Maybe the subject of the email is not the most accurate. What I need is the following. From seaside, I am calling a JS library using &quot;html script: &#39;xxx&#39; &quot;. Now, that JS libs provides me a feature in which it can do an AJAX request to the &quot;url/someAPI&quot; and send some JSON (what I need).</div>


<div><br></div><div>When I do an ajax request from within seaside I can easily attach a callback. However, in this case, I don&#39;t know how to do that. What I need is a callback associated to url/someAPI and I need to read the JSON sent in that ajax request.</div>


<div><br></div><div>Any idea how can I do this?</div><div><br></div><div>Thanks in advance,  <br clear="all"><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com/" target="_blank" class="vt-p">http://marianopeck.wordpress.com</a><br>



</div></div></div></div>
_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org" target="_blank" class="vt-p">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank" class="vt-p">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>

</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank" class="vt-p">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank" class="vt-p">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank" class="vt-p">http://marianopeck.wordpress.com</a><br>
</div></div>