Note that there are some explanatory texts on larger screens.

plurals
  1. POIs my HTML "leaking", because it is showing abnormal behavior
    text
    copied!<p>When I put this code outside of the <code>&lt;table&gt;</code>...it will work.</p> <pre><code>&lt;script type="text/javascript"&gt; $(function(){ $("#stars-wrapper1").stars({ oneVoteOnly: true }); }); &lt;/script&gt; &lt;form&gt; &lt;div id="stars-wrapper1"&gt; &lt;input type="radio" name="newrate" value="1" title="Very poor" /&gt; &lt;input type="radio" name="newrate" value="2" title="Poor" /&gt; &lt;input type="radio" name="newrate" value="3" title="Not that bad" /&gt; &lt;input type="radio" name="newrate" value="4" title="Fair" /&gt; &lt;input type="radio" name="newrate" value="5" title="Average" /&gt; &lt;/div&gt; &lt;/form&gt; </code></pre> <p>However, when I put this inside the <pre>&lt;table&gt;&lt;tr&gt;&lt;td&gt;...&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</pre> Then, it will show the 1 2 3 4 5. Does anyone know what is wrong with the table?</p> <pre><code>&lt;table width="100%" style="border: 0px none ;"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td style="width: 110px; vertical-align: top;" valign="top" align="right"&gt; &lt;form&gt; &lt;div id="stars-wrapper1"&gt; &lt;input type="radio" name="newrate" value="1" title="Very poor" /&gt; &lt;input type="radio" name="newrate" value="2" title="Poor" /&gt; &lt;input type="radio" name="newrate" value="3" title="Not that bad" /&gt; &lt;input type="radio" name="newrate" value="4" title="Fair" /&gt; &lt;input type="radio" name="newrate" value="5" title="Average" /&gt; &lt;/div&gt; &lt;/form&gt; &lt;/td&gt; &lt;td style="padding-left: 20px;" valign="top"&gt;&lt;div class="resultItem" style="float: left;"&gt; stutt here &lt;/div&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; </code></pre> <p>Edit: I am using a JQUERY Star rating plguin. <a href="http://orkans-tmp.22web.net/star_rating/index.html#demos" rel="nofollow noreferrer">http://orkans-tmp.22web.net/star_rating/index.html#demos</a></p> <p>It allows me to have 5 stars for rating.</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