Forums de discussion

Alloy Ui script equivelent to Jquery .load in theme

Shravan A, modifié il y a 10 années.

Alloy Ui script equivelent to Jquery .load in theme

Junior Member Publications: 29 Date d'inscription: 05/01/09 Publications récentes
Hi,

I am new to Alloy UI.
I have a requirement to load some content on mouseover of menu links in theme.
I was able to achieve this in html using jquery .load().
But in velocity i am unable to parse other vm file using jquery (coz jquery is client side & velocity is server side).
What is the equivelent script in Alloy Ui & Velocity.

Regards,
Shravan A
thumbnail
Vilmos Papp, modifié il y a 10 années.

RE: Alloy Ui script equivelent to Jquery .load in theme

Liferay Master Publications: 529 Date d'inscription: 21/10/10 Publications récentes
AUI is also a client side technology so I think your problem is not in the JS framework. Anyway, AUI has a rosetta stone page: http://alloyui.com/rosetta-stone/ where you can see the jquery equivalents as well.
thumbnail
Jonathan Mak, modifié il y a 10 années.

RE: Alloy Ui script equivelent to Jquery .load in theme

Junior Member Publications: 44 Date d'inscription: 03/02/11 Publications récentes
Hi Shravan,

I think you are looking for something similar to the AUI IO (http://alloyui.com/tutorials/io) where you make an asynchronous request and get the response data.

I hope this helps!
Shravan A, modifié il y a 10 années.

RE: Alloy Ui script equivelent to Jquery .load in theme

Junior Member Publications: 29 Date d'inscription: 05/01/09 Publications récentes
HI Jonathan,

Thank you for your reply, this is similar to what i am looking for.
I want to parse vm file (or) load webcontent data instead of json.

(Asyncronusly parse velocity file on mouseover of hyperlink).

Regards,
Shravan A