Hi everyone,

Should the Hidden component preserve the id?  In my TML I have:

<input id="jumpToPage" t:type="Hidden" t:id="jumpToPage" t:value="jumpToPage"/>

However, the generated HTML looks like:

<input type="hidden" name="jumpToPage"/>


Makes it hard to use $('jumpToPage') in my JavaScript to set the value.  :-)

If I switch to:

<input style="display: none;" t:type="TextField" t:id="jumpToPage"
t:value="jumpToPage"/>

It works, but of course, that just feels wrong.  Thoughts?

Thanks in advance,

mrg

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

Reply via email to