Author Login
Post Reply
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-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)