You cannot disable a <span> . The disabled attribute only works for input elements. What are you trying to achieve there?
The only thing I can imagine is that you have event bindings to this <span> to remove the ones you can call jQuerys .unbind() , .die() and / or .undelegate() .
$('#spanid').unbind().undelegate().die();
This will remove any event handler (linked directly or through delegation). The only problem is that you have to manually save the functions of the event handler if you want to enable it again later.
source share