I have manually added id="AlertQ_TD" to the <TD> and also <SPAN id="AlertQ"></SPAN> on html mode on the ADD PAGE
<TD class="rnr-control style3" id="AlertQ_TD" style="width: 200px; white-space: nowrap; background-color: rgb(255, 255, 255);">
{$Q_editcontrol}
{$Q_u_editcontrol}
{$Q_s_editcontrol}
<SPAN id="AlertQ">
</SPAN>
</TD>
This work fine interacting with Jquery and JavaScript except for that added <SPAN> and the id on the <TD > disappear every time that I save the project using SAVE PROJECT AS or when Save project as template.
Using PHP Runner 9.8
Am I doing something wrong?
Is there a better way to enter HTML elements with ID's on a permanent way?
Is there a plan on PhpRunner to include id#'s on every HTML element so we can easily do manual interaction with Jquery and JavaScript?
UPDATE:
I will illustrate the actual issue here:
. I need to use Jquery to focus the element with the id="AlertQ_TD". It works fine for as long as the id is inside of the <TD> Element. .focus() doesn't work with the id="AlertQ" which is outside of the <TD> element
. I tried using $xt->assign(); but 1. I can't use on the <TD> which is already generated. 2. If I use the HTML tag outside of the block after {END Q_fieldblock}, the $xt->assign() will relocate the element somewhere else.
This shouldn't be an issue if I would be using one of the Bootstrap layouts but unfortunately I have to use the old TABLE style layout, the fact is that Three fields must be presented in a horizontal consecutive order. See
{$Q_editcontrol}{$Q_u_editcontrol}{$Q_s_editcontrol}. I couldn't get that work fine using Bootstrap.
. So far I manually make copy of folder containing the project for back up purposes instead of Save As that removes some of the id's"".
Thank You