[Seaside] jQuery value.

Michael Backmann janus1859 at googlemail.com
Thu Jul 5 13:41:43 UTC 2012


Hey,
try this:
html textInput
                             onChange:
                                 (html jQuery ajax callback: [ 
:inputValue |Transcript show: inputValue] value: html jQuery this value)

Kind regards,

Micha

Am 05.07.2012 15:28, schrieb Malte Grunwald:
> Hey everybody,
>
> i try to get the value of a textInput with jQuery by using  it this way:
>
> /(html textInput)
>                     id: id;
>                     onBlur: html jQuery ajax serializeForm;
>                     onBlur: ((html jQuery id: 'imageDiv') load html: 
> [:r | self renderImageOn: r]);
>                     onChange: (html jQuery new load html: [self 
> formatValue: (html jQuery id: id)value]);
>                     callback: [...];
>                     value: (anObject perform: aValue)];/
>
> but I do not get the real value in the /formatValue: method. /All I 
> get is/: JQueryInstance ($("#id4").val())//.
> /Have anybody an idea what I am doing wrong?/
>
> /Thank you and kind regards
>
> Malte
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20120705/98f91650/attachment.htm


More information about the seaside mailing list