Note that there are some explanatory texts on larger screens.

plurals
  1. PORefreshing div after clicking on save
    primarykey
    data
    text
    <p>I have two div's in my layout. Where in the left div I have written by form and in the right div there is a table.</p> <p>After clicking on save button, only my right div where the table is present must be refreshed. Can someone help me?</p> <p>This is my code</p> <pre><code>//This is my **Left div**, Where i need to enter the **values** and when I click on **save** button, All the values must be displayed in the **right div** and that **right div must be refreshed** &lt;div align="left"&gt; &lt;div id="bundle_number_text_label"&gt; Bundle Number &lt;/div&gt; &lt;input id="bundlenumber" style=" padding: 3px 0;" type="text" name="bundle_number" /&gt;&lt;br /&gt; &lt;div id="date_text_label"&gt; Date &lt;/div&gt; &lt;input type="text" style=" padding: 3px 0;" id="date" READONLY/&gt;&lt;br/&gt; &lt;div id="length_text_label"&gt; Length &lt;/div&gt; &lt;input id= "length" style=" padding: 3px 0;" type="text" name="Length" /&gt; (in mm) &lt;input type="radio" name="browser" value="number" checked&gt; &lt;label&gt;&lt;?=lang('number_txt')?&gt;&lt;/label&gt; &lt;input type="radio" name="browser" value="Balance"/&gt; &lt;label&gt;&lt;?=lang('balance_txt')?&gt;&lt;/label&gt;&lt;/br&gt; &lt;input id= "rate" style=" padding: 3px 0;" type="text" name="Rate" /&gt; &lt;input type="button" value="Save" name="Save" id="save_id"&gt; &lt;/div&gt; </code></pre> <p>//This is my <strong>right div</strong> and after clicking on <strong>save button</strong>, all the values must be displayed here and this div has to be refreshed.</p> <pre><code>&lt;div id="div_save" align="left"&gt; &lt;table align="center !important" width="80%" border="1px" cellspacing="0" cellpadding="0"&gt; &lt;tr&gt; &lt;th&gt;Select&lt;/th&gt;&amp;nbsp; &lt;th&gt;Bundle Number&lt;/th&gt;&amp;nbsp &lt;th&gt;Date&lt;/th&gt;&amp;nbsp; &lt;th&gt;Length(mm)&lt;/th&gt;&amp;nbsp; &lt;th&gt;Numbers&lt;/th&gt; &lt;th style="display:none;"&gt;Party id&lt;/th&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align="center" valign="top"&gt; &lt;input type="radio" /&gt;&lt;/td&gt; &lt;td align="center" valign="top"&gt;&lt;/td&gt; &lt;td align="center" valign="top"&gt;&lt;/td&gt; &lt;td align="center" valign="top"&gt;&lt;/td&gt; &lt;td align="center" valign="top"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align="center" valign="top"&gt; &lt;input type="radio" /&gt;&lt;/td&gt; &lt;td align="center" valign="top"&gt;&lt;/td&gt; &lt;td align="center" valign="top"&gt;&lt;/td&gt; &lt;td align="center" valign="top"&gt;&lt;/td&gt; &lt;td align="center" valign="top"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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