天天看點

jquery 擷取自定義的屬性值

Schoolattr_level=$("#Schoolattr_id").find('option:selected').attr("level");