Relatively new to this; I have an asp.net page that I want to remove CSS class formatting for a specific control. (An asp:textbox and ajax:HtmlEditorExtender)
The page that contains the control uses a Master page where the CSS stylesheet is referenced.. I want to remove everything attached to <blockquote> and <p>.. I suspect I am making some sort of newbie mistake.
StevenSchult...
Member
19 Points
7 Posts
Cant get <elm>.removeClass() to work correctly.
Feb 15, 2012 11:47 AM|LINK
Relatively new to this; I have an asp.net page that I want to remove CSS class formatting for a specific control. (An asp:textbox and ajax:HtmlEditorExtender)
The page that contains the control uses a Master page where the CSS stylesheet is referenced.. I want to remove everything attached to <blockquote> and <p>.. I suspect I am making some sort of newbie mistake.
Thanks in advance.
Here is the code Ive tried.
<script src="Scripts/jquery-1.7.1.min.js" type="text/javascript"> $('blockquote').removeClass(); $('blockquote:before').removeClass(); $('blockquote:after').removeClass(); $('blockquote:hover').removeClass(); $('p').removeClass(); </script>