Note that there are some explanatory texts on larger screens.

plurals
  1. POShow Hide Table Row based on Check Box
    primarykey
    data
    text
    <p>In this <a href="http://jsfiddle.net/Seenu/pbtbS/" rel="nofollow">Fiddle</a> I am trying to show/hide table row containing File input based on Check Box selection. But the showHide function is not getting called.</p> <pre><code>&lt;div align="center" class="divBody"&gt; &lt;br /&gt; &lt;div id="controlHost"&gt; &lt;div id="outerPanel"&gt; &lt;table width="100%" cellpadding="2" cellspacing="5"&gt; &lt;tr align="left"&gt; &lt;td colspan="2"&gt; &lt;input type="checkbox" id="c1" onclick="showHide()"&gt;only Textbox&lt;/input&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr align="left" id="fileLabel"&gt; &lt;td colspan="2"&gt; &lt;span class="message" &gt;Select file&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr align="left" id="fileBox"&gt; &lt;td valign="top" style="height:100%; width:70%;"&gt; &lt;input type="file" id="FileInput" multiple="false" class="fileInput" style="height:100%; width:100%;"/&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr align="left"&gt; &lt;td colspan="2"&gt; &lt;span class="message" &gt;Types&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;input type="text" id="txtTypes" tabindex="0" style="margin-left:1px;width:100%" maxlength="50" &gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align="center"&gt; &lt;input type="button" id="upload" name="Upload" value="Update" onclick="startUpload('FileInput', 1048576, 'uploadProgress', 'statusMessage', 'upload', 'cancel');" class="button" /&gt; &lt;input type="button" id="cancel" name="Cancel" value="Cancel" disabled="disabled" onclick="cancelUpload();" class="button" /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p></p>
    singulars
    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.
    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