cant get my selector right !

cant get my selector right !

I have a simple alternative right click script that is activated using this jQuery

  1. $('.status')
  2.                 .rightClick( function(e) {
  3.                     $('#right_click').css('top', e.pageY)
  4.                         .css('left', e.pageX)
  5.                         .show();
  6.                 });

In the current version above, it works fine when right clicking in any element with the class set to 'status'.

How ever I have another piece of script which applies an additional class (selected) to selected elements which results in the class being set to 'status selected'. 

I want to limit the above script to only work on these selected elements but I can not get the selector right.  I have tried $('.selected') and $('.status.selected') but neither of these are working.

Is there something I am missing?