can i use $.getJSON or .ajax with cc.$?


#1

Hello,

I wonder if I can use cc.$.getJSON or cc.$.ajax somehow… Right now im just using jquery api to do $.getJSON but, does cocos2d support it natively?

Thank you,
Luciano Semerini


#2

Miniframework does not try to replace jquery,

for Ajax functionality, you can use the native xmlhttprequest,
you can also use jquery if you want, it will not conflict with cocos


#3

Thanks :slight_smile: