[Lift] Re: Deleting elements after a modal confirmation dialog

2009-08-30 Thread Channing Walton
Thank you both for your reply but I have to admit that it was an error in my javascript that was preventing my code from working. Apologies for wasting your time. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift

[Lift] Re: Deleting elements after a modal confirmation dialog

2009-08-29 Thread Ross Mellgren
Well it depends on how your dialog works... if you need a JS function that calls back to the server, use SHtml.ajaxInvoke. If you want a button element that does the same thing, use SHtml.ajaxButton. If that doesn't help you, please post what code you do have or an example of what you

[Lift] Re: Deleting elements after a modal confirmation dialog

2009-08-29 Thread marius d.
In such cases IF you also need to send an ajax request you can also use the SHtml.ajaxButton that takes a Call as an argument. See this thread: http://groups.google.com/group/liftweb/browse_thread/thread/f7a5eb09a756e076/009d5802f7652669?hl=enlnk=gstq=Call#009d5802f7652669 Br's, Marius On Aug