The following jQuery works with or without a semicolon after a function. Why?
jQuery(document).ready(function(){ jQuery("#red").treeview({ animated: "fast", collapsed: true, control: "#treecontrol", persist: "cookie" }) });
It works in all browsers. Could this be the cause of the error?
source share