i have this JS code:
$('#subproducts_search input').keyup(function () {
$.get($('#subproducts_search').attr('action');
$('#subproducts_search').serialize(), null, 'script');
return false;
});
and i changed it for this:
$('#products_search input').keyup(()->
$.get($('#products_search').attr('action')
$('#products_search').serialize(), null, 'script'))
return false
but i get:
SyntaxError: [stdin]:9:1: unexpected indentation
someone can help me? thanks