Javascript onclick not working on radio button
<p>I have a problem with javascript. I have downloaded a rating star plugin , this one to be exact: <a href="http://www.fyneworks.com/jquery/star-rating/#tab-Testing" rel="nofollow">http://www.fyneworks.com/jquery/star-rating/#tab-Testing</a></p>

<p>I have multiple things to rate on one page, so i thought i could use an onclick to send it to a function, that sends it to my database with ajax. The problem is, when a rating star is clicked nothing happens, ive tried it on a regular submit button and the function gets executed.</p>

<p>Here is the code :</p>

<pre><code>            &lt;script type="text/javascript"&gt;
               function postform(){                      
                           alert('Thing is clicked');
                       };                 
            &lt;/script&gt;
</code></pre>

<p>And the star is actually a radio button:</p>

<pre><code>&lt;input name="adv1" type="radio" class="star {split:4}" value="0.50" onclick="postform()"/&gt;
</code></pre>

<p>I can't see what is wrong with the code, because when i test it on a regular button like this :</p>

<pre><code> &lt;input type="submit" value="testbutton" onclick="postform()"/&gt;
</code></pre>

<p>It gives me the alert Thing is Clicked.</p>

<p>Somehow the star doesn't like the onclick stuff..
Ive tested it in IE, Chrome and FF, nothing ever happens </p>

<p>could someone help me out here?</p>

<p>Thanks alot!</p>

<p>Edit:</p>

<p>As requested by Lukas , i have this in my head :</p>

<pre><code>&lt;script type='text/javascript' src='jquery.min.js'&gt;&lt;/script&gt;
&lt;script src='jquery.MetaData.js' type="text/javascript"&gt;&lt;/script&gt;
&lt;script src='jquery.rating.js' type="text/javascript"&gt;&lt;/script&gt;
</code></pre>
