I'm currently using javascript code on my blade.php (Laravel) page and I have a strange error: My != is not accepted:
if({{ $CurrentProduct->disposable_quantity }} != null) {
if (newQty > {{ $CurrentProduct->disposable_quantity }}) {
$('input[name="quantity"]').val({{ $CurrentProduct -> disposable_quantity }});
}
}
If I put a == my code no longer contains errors. I don't understand