Sorry, Could you demo this? On Oct 30, 3:10 pm, Jeppe Nejsum Madsen <[email protected]> wrote: > Xuefeng Wu <[email protected]> writes: > > Or can I register ajax event at server side? > > > On Oct 30, 10:24 am, Xuefeng Wu <[email protected]> wrote: > >> Hi, > > >> There're many ajax* control in SHtml such as ajaxButton and they can > >> call server function by 'liftAjax.lift_ajaxHandler > >> ("F900890988391MRF=true", null, null, null); return false;' directly. > > >> My question is that how could I call server 'ajax' function by my ajax > >> code? How could I know the function's "code" such as > >> "F900890988391MRF", or I can custom the "code"? > > SHtml.ajaxCall will generate javascript that performs an ajax call that > executes a function on the server side. You can use this as a starting > point and build your client side javascript from this. > > /Jeppe
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
