i need to remove the css class of my textbox on focus event:
jquery:
function searchBoxfocus () {
document.getElementById('<%= txtusername.ClientID%>').value = "";
$('#txtusername').removeClass('text-label');
$('#txtusername').addClass('glow');
}
pls help me out the class "text-label " is not removing.

Ravi ShekharRank #673 · 3.6K reputationPosted Jul 18, 2013, 1:02 AM EDT
look your control id in browser viewsource then put this id in
I think your code is right.
TRY.
Ravi ShekharRank #673 · 3.6K reputationPosted Jul 18, 2013, 12:53 AM EDT
ashok kumar69 reputationPosted Jul 18, 2013, 12:58 AM EDT
Riyaz AkhtarRank #2,275 · 619 reputationPosted Jul 18, 2013, 1:08 AM EDT
ashok kumar69 reputationPosted Jul 18, 2013, 1:15 AM EDT
Ravi ShekharRank #673 · 3.6K reputationPosted Jul 18, 2013, 1:17 AM EDT
replace your class name text-label' as textlabel and try...
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 18, 2013, 1:22 AM EDT
Try like this without onblur and onfocus
in css
Regards,
Iftikar