I am including jquery in my template like so:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
After doing this,I add this form to my page:
<form method="POST">
Quantity: <input type="text" name="quantity" /><br />
<input type="submit" value="Add To Cart"/>
</form>
My console then outputs the error:
Uncaught TypeError: Object #<Object> has no method 'canPushDown'
The interesting thing is if I change the submit value to:
value="Add To Car"
The error disappears! Further more, If I add an extra t to the value:
value="Add To Cartt"
The error returns.
Here is my entire template:
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
</head>
<body>
<form method="POST">
Quantity: <input type="text" name="quantity" /><br />
<input type="submit" value="Add To Cart"/>
</form>
</body>
</html>
I’ve confirmed this behavior is only occurring with the above html for django templates. Anyone have a hunch for what may be going on?
I was able to get this to go away by disabling Amazon Universal Wishlist in Chrome Extensions