[Seaside] get value within a textinput with jQuery

Johan Brichau johan at inceptive.be
Tue Jul 16 13:14:52 UTC 2013


Hi Sabine,

I guess you want the value server-side?
You thus need to serialize that value:

html jQuery ajax 
    callback: [:v | ... ] 
    value: (html jQuery id: #searchTextField) value

Johan

Sent from my iPad

On 16 Jul 2013, at 14:01, Sabine Knöfel <sabine.knoefel at gmail.com> wrote:

> Hi,
> 
> I want to get the value which was entered into a textinput by doing
> 
> (html jQuery id: #searchTextField) value.
> 
> but I get 
> a JQueryInstance
> (jQuery("#searchTextField").val())
> 
> How can I get the value (String) of the text field?
> 
> Greetings
> Sabine
> 
> 
> 
> 
> 
> --
> View this message in context: http://forum.world.st/get-value-within-a-textinput-with-jQuery-tp4698913.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list