I'm trying to have inputs change the style of particular text and submit it to a filemaker server. Works great on IE but not on safari...
<select name="NameStyleFontName" id="'.$recordID2.'" style="width:105px;"
fontatt="font-family" classid="stagename" onchange="fontupdate(this.id, this.name,
this.value, this.fontatt, this.classid)">
function fontupdate(id, name, value, att, cls)
{
$('#loadres').html('<img src="loading.gif" />');
$.post('fontupdate.php', {id: id, name: name, value: value})
$('.'+cls).css(att, value); //this is where it fails.
$('#loadres').html('<col />');
};