I have a form which is part of a zone which gets updated regularly (for example, when the form is submitted).

the first time the pages loads, the form and its textfield's ids are as expected ie exactly what is entered as t:id
eg
<input t:type="textfield" t:id="myTextField" />
=
<input type="text" id="myTextField" />

however, once the zone has been updated, the ids for the form and the textfields within it have a code appended to them:
eg
<input type="text" id="myTextField-12947ccd236" />


Unfortunately I have scripts which need to reference these fields by their Id, so when the Id changes the scripts break:
eg
$("myTextField").value = "myValue";

how have other people handled this?

thanks, paul.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to