Jquery Icons
Jquery Icons
Hi,
I have a jquery dialog that looks like following:
<div id="jDialog">
<div id="message"/>
<asp:CheckBox ID="checkBox" runat="server" Text="Do not
display this message again" visible="false"></asp:CheckBox>
<br />
<asp:Button ID="b1" runat="server" visible="false"/>
<asp:Button ID="b2" runat="server" visible="false"/>
<asp:Button ID="b3" runat="server" visible="false"/>
<asp:HiddenField ID="dialogData"
runat="server"></asp:HiddenField>
<asp:HiddenField ID="postback"
runat="server"></asp:HiddenField>
</div>
The dialog is opened on click on an asp.net button. The method that is
called when the button is clicked is called CreateDialog. Depending on what
parametesr that are sent to CreateDialog, the dialog is to be created with a
different icon and different buttons.
I am currently working with the icons and I have two problems:
1. When I add class="ui-icon ui-alert" I get "class or cssclass undefined"
2. $("#icon").addClass("ui-icon ui-alert") is not working
I have added jquery.css to my code.
Can anyone please tell my what I am doing wrong?
Kind Regards
--
View this message in context: http://www.nabble.com/Jquery-Icons-tp23407685s27240p23407685.html
Sent from the jQuery UI Discussion mailing list archive at Nabble.com.