toggle.js
var $jq = jQuery.noConflict();
$jq(document).ready(function(){
$jq('.isAdd').hide();
$jq("#Add_category").change(function(){
var value = $jq("#Add_category option:checked").val();
var theDiv = $jq(".isAdd");
theDiv.slideToggle("slow");
});
});
In console I had:
Uncaught SyntaxError: Unexpected token ILLEGAL
For Firefox it's works fine, but not for Chrome and Chromium for Ubuntu.
There is an invisible character following the last });
of your last line. When I pasted it into my editor, it appeared as a .
.
View your code in an editor capable of displaying non-printable characters with some kind of symbol, or view it in a hex editor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With