General developer forum

 
 
Picture of Hittesh Ahuja
Re: Block/YUI help please
 

This is the equivalent of ajax() in Jquery

 

http://yuilibrary.com/yui/docs/io/

 
Average of ratings: -
Picture of Hittesh Ahuja
Re: Block/YUI help please
 

Hi Michael,

I have tried the same code you pasted and the alert function works just fine for me.

Make sure you are purging your cache everytime you amend the JS file

 

Regards,

Hittesh

 
Average of ratings:Useful (2)
Rocking some shades
Re: Block/YUI help please
 

I spent 2 hours trying to figure this out....

I can't believe I didn't make sure the cache was clear.

Thanks

 
Average of ratings: -
Picture of john saylor
Re: Block/YUI help please
 
haha- we've all been there. but look on the bright side, the next time you won't need the two hours to figure it out! experience is a very inefficient teacher, but sometimes extremely effective.
 
Average of ratings: -