I just want to disable the ability for a user to click on an element for some condition. Here is some of the code I am working with:
$(\'#navigation a\
/** eworkyou **//
$('#navigation a').bind('click',function(e){ var $this = $(this); var prev = current; current = $this.parent().index() + 1; // if (current == 1){ $("#navigation a:eq(1)").unbind("click"); // } if (current >= 2){ $("#navigation a:eq(1)").bind("click"); // }