It looks like you're new here. If you want to get involved, click one of these buttons!
<head>
<script type=\"text/javascript\">
if (window.attachEvent)
window.attachEvent('onload', init);
else if (window.addEventListener)
window.addEventListener('load', init, false);
else
document.addEventListener('load', init, false);
function init(){
$(\"#uploadify\").uploadify({
'uploader' : 'uploadify.swf',
'script' : 'uploadify.php',
'checkScript' : 'check.php',
'cancelImg' : 'images/cancel.png',
'folder' : 'uploads',
'queueID' : 'fileQueue',
'auto' : true,
'multi' : true
});
setTimeout(upfold,3000);
tabView = new YAHOO.widget.TabView('tabmain'); //Comment out this line to get rid of the error
}
function upfold(){
alert(\"Before - \"+$('#uploadify').uploadifySettings('folder'));
$('#uploadify').uploadifySettings('folder','newuploads');
alert(\"After - \"+$('#uploadify').uploadifySettings('folder'));
}
</script>
</head>
<body>
<div id=\"tabmain\" class=\"yui-navset\">
<ul class=\"yui-nav\">
<li class=\"selected\"><a href=\"#tab1\">Tab 1</a></li>
<li><a href=\"#tab2\">Tab 2</a></li>
</ul>
<div class=\"yui-content\">
<div id=\"tab1\">
Testing
</div>
<div id=\"tab2\">
<input type=\"file\" name=\"uploadify\" id=\"uploadify\" />
<div id=\"fileQueue\"></div>
<p><a href=\"javascript:jQuery('#uploadify').uploadifyClearQueue()\">Cancel All Uploads</a></p>
</div>
</div>
</div>
</body>