I am trying to disable all links except for the one clicked. $('a[class^="edit_"]').click(function(){ var url_id = $(this).attr('href'); var e = $(this).attr('class'); var x = $(this).attr('id').split('_'); var y = x[0]; var z = x[1]; alert(e); the alert shows edit_profile so e = edit_profile so i am trying to fade all classes with edit_ somethingto 0.25 except for edit_profile but its not working. What am I missing?
$('a[class^="edit_"]:not(e)').fadeTo('slow' , 0.25 , function() { .... .... .... }): Thanks Dave