[Seaside] Re: Pass jQuery result to callback
pdebruic at gmail.com
Tue Feb 24 21:55:07 UTC 2015
Does JQAjax>>#callback:value: & friends do what you need?
onClick:(html jQuery ajax callback:[:val | self processValueFromPage:
val] value:(html jQuery id:'myDiv') data);
with:'send data to server'
> Hi all,
> I want the following to occur to when an anchor (with href set to
> 1°find some information on the rendered html page
> 2°send it back from client side
> jQuery allows me to make scripts for both steps (for 1° query methods, for
> 2° #callback:). My problem is i don't know how to bind these two steps in
> single script, since from what i know i can't add and asign to a smalltalk
> temp inside a script and i can't perform queries from within a callback
> block (cause the html renderer no longer exists). So, how do i add a temp
> variable inside the script and how i merge the 3 resulting "step" scripts
> into one?
> seaside mailing list
> seaside at .squeakfoundation
View this message in context: http://forum.world.st/Pass-jQuery-result-to-callback-tp4807374p4807413.html
Sent from the Seaside General mailing list archive at Nabble.com.
More information about the seaside