Lifted,
When i look at the button behavior using firebug, this is the following
error i see.
F891109765602PT1 is not defined
onclick(click clientX=950, clientY=152)1tbfBLwe...6bg%3D%3D (line 2)
(F891109765602PT1, lift_ajaxHand...whatField).attr(value), null, null));
It would appear that however
Greg,
ajaxCall returns a tuple (String, JsExp) ... so when you use it try
something like:
(onclick - ajaxCall(JsRaw($('#whatField').attr('value')), s =
updateWhat(s))._2)
Br's,
Marius
On May 3, 9:00 am, Meredith Gregory lgreg.mered...@gmail.com wrote:
Lifted,
When i look at the button
First of all instead of:
(onclick - ajaxCall(JsRaw($('#whatField').attr('value')), s =
updateWhat(s))._2)
I would use:
(onclick - ajaxCall(ValById(whatField), s = updateWhat(s))._2)
That should work I think in your case you are setting the value
attribute of the text field to
Marius,
Thanks! That works much better. One final question, if i wanted to have the
CR/LF event on the textbox have the same behavior as the button, what would
be the simplest approach? Currently, i have
{ text(evalStr(), (updateWhat _)) % (size - 60) % (id - whatField)
}
which always reverts