I have the following selectors:
$('#menu a[href^="/C"]').live('click', function (event) { } )
$('#menu a[href^="/T"]').live('click', function (event) { } )
One selects href that starts with /C and the other /T
Is there a way that I can combine these?
The selectors you gave were exactly the same, but in general all you have to do is comma delimit the two selectors like the following:
For more information check out the jquery site on mutiple selectors
Edit:
This should be what you are looking for: