$('a[class^="edit_"]:not(.' + e + ')').fadeTo('slow' , 0.25 , function() {
...
}

MaurĂ­cio
  -----Mensagem Original----- 
  De: Dave Maharaj :: WidePixels.com 
  Para: jquery-en@googlegroups.com 
  Enviada em: quinta-feira, 4 de junho de 2009 21:43
  Assunto: [jQuery] Selector not question


  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

Reply via email to