Hi
I may change the value of href property of <sj:textfield> with a script (jquery or js is the same). This is need for make an async. http request e get the response in the same field. The call is good, the answer json i good, the result is good. The problem is that I can't update Href with new values.
The code...
<s:url id="AA" value="actionAsyn">
<s:param name="eta" value="123" /> // this is the value I want dynamically change
</s:url>
<sj:textfield dataType="json" href="%{AA}" id="BB" />
I have tried with a script ...
$(document).ready(function(){
$("#BB").click(function(){
$("#BB").set("hrefparameter", "eta=999"); // do not make it
});
thank you very much nicola
});