Currently i am doing as below
<script type="text/javascript">
$(document).ready(function () {
debugger;
$('#Draft').live('click', function () {
alert("I am Draft Here");
});
$('#Live').live('click', function () {
alert("I am live Here");
});
$('#Completed').live('click', function () {
alert("I am completed Here");
});
});
</script>
I am fetching each element's id and based on that invoking alert on click event of that.
Is there any way in which i can fetch all span elements, say whose style attribute is like style="color:
Below are like my span elements on page
<span style="color:#F3660E;" id="Draft">Draft: (2138)</span>
I am new to jquery, please suggest on this