Thanx Nathan,
It works. It does change the class to the #family form. Is it possible
to make it change the class to the Option element?

<option class="option" value="Georgia" label="Georgia">Georgia</
option>
<option class="option" value="Times New Roman" label="Times New
Roman">Times New Roman</option>
<option class="option" value="HelveticaNeue-Light" label="Helvetica
Neue Light">Helvetica Neue Light</option>

I've tryed with the following and it does not work:

 $(".option").bind("change keypress", setFamily);
 $("option").bind("change keypress", setFamily);

Reply via email to