Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to get the displayed value from a table?
    text
    copied!<p>i've got a problem i don't know how do solve it. On my web page i load a table dynamically (and only the user want to) from an other apex application with:</p> <pre><code>function getParameter (filter){ var url; var html; filter = filter.replace(/ /g,'%20') url = 'http://xxx.xxx.xxx.xxxx:8080/apex/f?p=PAR_PARAMETER:1:'+APP_SESSION+ ':IR_REPORT_Query_Parameter::RIR,CIR:IR_P_SYS.SZGETTEXT(T.EZS_NO):'+filter; html = $('#ParameterSettings').load(url +' .apexir_WORKSHEET_DATA'); </code></pre> <p>}</p> <p>this works fine.</p> <p>My problem now is that the user can choose between: I want to edit the values, in this case the <strong>value col</strong> (display only) will be replaced with:</p> <pre><code>'&lt;input type="text" value="|HTML|" size="30" maxlength="4000" class="P3_PARAMETER_VALUES"&gt;' </code></pre> <p>This also works fine, but how can i get the values that the user can now enter into the input field?</p> <p>The table bevor it is editable:</p> <pre><code>&lt;div id="P3_PARAMETERSETTING"&gt; &lt;table&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;tr class="even"&gt; &lt;td headers="LINK"&gt; &lt;td align="left" headers="P_SYS.SZGETTEXT(T.EZS_NO)"&gt;(Dist) Driving time&lt;/td&gt; &lt;td align="left" headers="NAME"&gt;REQ.data.source.trip&lt;/td&gt; &lt;td align="left" headers="Value"&gt;tadaaa&lt;/td&gt; &lt;td align="left" headers="Default"&gt;0&lt;/td&gt; &lt;td align="left" headers="P_SYS.SZGETTEXT(D.EZS_NO)"&gt;Data source for trips to use in the query: 0 = all, 1 = online recorded data, 2 = vehicle recorded data&lt;/td&gt; &lt;td align="left" headers="Max"&gt;2&lt;/td&gt; &lt;td align="left" headers="Min"&gt;0&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/div&gt; </code></pre> <p>after switch to editable:</p> <pre><code>&lt;div id="P3_PARAMETERSETTING"&gt; &lt;table&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr class="odd"&gt; &lt;td headers="LINK"&gt; &lt;td align="left" headers="P_SYS.SZGETTEXT(T.EZS_NO)"&gt;(Dist) Driving time&lt;/td&gt; &lt;td align="left" headers="NAME"&gt;REQ.grid.value.size&lt;/td&gt; &lt;td align="left" headers="Value"&gt; &lt;input class="P3_PARAMETER_VALUES" type="text" maxlength="4000" size="30" value="tadaaa"&gt; &lt;/td&gt; &lt;td align="left" headers="Default"&gt;60&lt;/td&gt; &lt;td align="left" headers="P_SYS.SZGETTEXT(D.EZS_NO)"&gt;Default data query value grid size&lt;/td&gt; &lt;td align="left" headers="Max"&gt;43200&lt;/td&gt; &lt;td align="left" headers="Min"&gt;10&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/div&gt; </code></pre> <p>thanks mario</p> <p>if any one need more code just leave a comment.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload