Jquery: Uncaught SyntaxError: Unexpected identifier
<p>My website cannot show the prices for different product options and I found the following error message on Chrome inspection:</p>

<pre><code>Uncaught SyntaxError: Unexpected identifier
</code></pre>

<p>It is pointing to the line below:</p>

<pre><code>  var first_variant_price = $('ul li input[type='radio']:checked').attr('data-price'); 
</code></pre>

<p>This is the complete script:</p>

<pre><code>&lt;script type='text/javascript' charset='utf-8'&gt;
$(document).ready(function(){ 
  var first_variant_price = $('ul li input[type='radio']:checked').attr('data-price'); 
  $('.current-price').text( first_variant_price );
  $('input[type='radio']').click(function() {
    var variant_price = $(this).attr('data-price');
    $('.current-price').text( variant_price);
  });
});
&lt;/script&gt;
</code></pre>

<p>I could not realize any mismatch on this code. Thanks for the help!</p>
