[jQuery] conditional events
I'm trying to trigger an event only when a condition is met, $(document).ready(function() { $('#leftScroll').click(function() { $('#scrollContent') .animate( {
[jQuery] Conditional events
Hello everyone. I've been trying for some time now to make this code to execute ONLY if a variable called edit equals to 1: The code: $(.item_title).editable(operator.php,{ submitdata: {'type': 'title'}, width: 250 });//EOE Does anybody have an