Uncaught TypeError: jQuery is undefined

Highlighted
New Member
4 0 0

Im trying to make some code to send data to another page, i try to use jquery to do it.

so i got this error.

Is there any chance to check if the Jquery library is working with shopify ? or if there is any new idea to do it.

 

this is my code

<script type="text/javascript">
function test_shopy(){
jQuery.noConflict();
jQuery.post("url", {"json":"url"})
.done(function(data) {
console.log("listo");
$("#test_shopy").html(data);
}).always(function() {

});
}
test_shopy();

</script>

 

0 Likes