I'm not sure I understand. That code you pasted is a bit of jQuery code to show the latest price based on the quantity entered. You can remove this code, sure, but then you break the basic UI of the page.
HiI seem to be getting a strike out which disappears when I remove the following<script type="text/javascript"><!--$(document).ready(function(){
$("#quantity").keypress(function (evt) {
var charCode = (evt.which) ? evt.which : event.keyCode;
if (charCode > 31 && (charCode < 48 || charCode > 57)) return false;
return true; });
$("#quantity").keyup(function () { $("#total_price").text(parseFloat($("#quantity").val() * <?=$app_price[0].'.'.$app_price[1]?>).toFixed(2)); });
$("#total_price").text(parseFloat($("#quantity").val() * <?=$app_price[0].'.'.$app_price[1]?>).toFixed(2));
});//--></script>
I'm not sure I understand. That code you pasted is a bit of jQuery code to show the latest price based on the quantity entered. You can remove this code, sure, but then you break the basic UI of the page.
I want to keep the jquery, but it seems to be trigerring the red https strikeout in chrome becuase i get the strikeout msg but it disappears when I remove that code.
Oh, OK. Change this line:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
To this line:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
Then the HTTPS warning will disappear. We'll fix this in the next version of the web API (coming in a few days).