如何在YUI2和YUI3中编写onChange函数的代码。
jQuery(':input[type=radio]').change(function(){
var aType=jQuery(this).val();
var numT= aType==1 ? "3" : "6" ;
var aWidth=aType==1 ? "330px" : "660px" ;
});