I want to change css class of an element on certain event in jquery. eg.
focusin: function()
{
if(this.val()=="First Name")
$(this).find("span ").css
}
$(this).find("span which contains _set").class= mycssclass here I want to change the CSS class of span element whose id contains "_set" as a part of substring in class name and also want to change the text i.e. InnerHtml property of javascript of this span element