<script type="text/javascript" language="javascript">
$(document).ready(function(){
//var ssd= $("input[@type=radio][name=phoType][checked]").val();
$("#upload").uploadify({
uploader: '/js/uploadify/uploadify.swf',
script: '/index.php/uploadify?id=';?>',
buttonImg : '/js/uploadify/select.png',
cancelImg: '/js/uploadify/cancel.png',
folder: 'uploads',
scriptAccess: 'always',
buttonText:'SELECT FILES',
multi: true,
});
});
</script>
<form method="OST" action="<?php echo site_url('/admin/tea_edit/add') ?>">
<p>
<input type="radio" name="phoType" value="a" checked="checked" />相册图片
<input type="radio" name="phoType" value="b" />封面图片
</p>
<a href="javascript('#upload').uploadifyUpload();">上传文件
</a>
</form>