[Seaside] JQuery load question

Sven Van Caekenberghe sven at stfx.eu
Mon May 19 12:59:24 UTC 2014


Hi,

I had some code that worked fine using JQuery's load functionality:

html div id: #foo

html button
  bePush;
  onClick: ((html jQuery id: #foo) load html: [ :h |
    myModel doSomething.
    h render: myModel displayString ]);
  with: 'Do Something'

Now, I switched #foo to a form input:

html textInput id: #foo

But then I should use #value: and not replace the HTML so I can't use load anymore.

I don't seem to be able to write this but I am a real beginner here. Anyone ?

Thx,

Sven

PS: the data coming back is just a string, not HTML.



More information about the seaside mailing list