You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Arun Kumar <ar...@gmail.com> on 2008/04/24 20:31:30 UTC
jQuery Ajax and DOM inside a gadget
Can I use My own JavaScript Files inside a gadget of content type="html" by
using <script src=http://shindig.com/shindig.js>?
I want to use jQuery inside my gadget of type "html", Iwant to use jQuery
Ajax.
Is shindig is supporting caja?
Re: jQuery Ajax and DOM inside a gadget
Posted by Kevin Brown <et...@google.com>.
On Thu, Apr 24, 2008 at 11:31 AM, Arun Kumar <
arunkumar.boppudi.514@gmail.com> wrote:
> Can I use My own JavaScript Files inside a gadget of content type="html" by
> using <script src=http://shindig.com/shindig.js>?
You can include any external files you want.
I want to use jQuery inside my gadget of type "html", Iwant to use jQuery
> Ajax.
Feel free to do so.
> Is shindig is supporting caja?
Yes, though caja itself is still not quite perfect so it isn't enabled by
default. Pass &caja=1 to the iframe url to trigger it (Java version only --
PHP support for caja is non existent today).
--
~Kevin
Re: jQuery Ajax and DOM inside a gadget
Posted by "Matthew (Chewy) Trewhella" <ch...@google.com>.
I think that as long as you close the script tag, you can do whatever you
like.
If you have a look at this:
http://opensocial-resources.googlecode.com/svn/samples/tutorial/tags/api-0.7/gifts_1_friends.xml
which is on the opensocial examples site, it includes javascript from a 3rd
party.
Apologies if I've misunderstood your question
Chewy
On Thu, Apr 24, 2008 at 7:31 PM, Arun Kumar <ar...@gmail.com>
wrote:
> Can I use My own JavaScript Files inside a gadget of content type="html" by
> using <script src=http://shindig.com/shindig.js>?
>
> I want to use jQuery inside my gadget of type "html", Iwant to use jQuery
> Ajax.
>
>
> Is shindig is supporting caja?
>