Issue
I have below line in html code.
$('#myform #progress').html('<img src="images/ajax-complete.gif" /> Successful.')
i just need to change Successful
text color to green when it is displayed. here how can i apply font color green?
Thanks!
Solution
You can do the following in jQuery:
$('#myform #progress').css('color':'green');
or in CSS:
#myform #progress{ color: green}
also:
$('#myform #progress').html('<img src="images/ajax-complete.gif" /> <span style="color:green">Successful</span>.')
Answered By - Vincent Cohen
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.