here is working fine, but my script is a little different, see if something helps:
<http://pastebin.com/tKLSC9Uw>http://pastebin.com/tKLSC9Uw Em quarta-feira, 4 de julho de 2012 14h05min40s UTC-3, cheer10s escreveu: > > Hello I am trying to use uploadify in my web2py app but I am having a bit > of difficulty no errors occur it just doesn't work > > > These are my controllers > > def index(): > return dict() > > def myUpload(): > form = SQLFORM(db.music) > if form.accepts(request.vars, session): > response.flash = 'Your info has been submitted' > return dict(form=form) > elif form.errors: > response.flash = 'Please correct the highlighted fields' > return dict(form=form) > else: > return dict(form=form) > > > my index view > > {{extend "template.html"}} > <div id="content"> > > {{=LOAD('default','myUpload',ajax=False)}} > > </div> > > myUpload view (its not a load file) > > <script type="text/javascript"> > $(document).ready(function() { > $('#music_song').uploadify({ > "uploader" : "{{=URL('static', 'uploadify/uploadify.swf')}}", > "script" : "{{=URL('default', 'index')}}", > "cancelImg" : "{{=URL('static', 'uploadify/uploadify-cancel.png')}}", > "auto" : true > }); > }); > </script> > > {{=form}} > > > > and this is in template.html > > > <link href="{{=URL('static', 'uploadify/uploadify.css')}}" type="text/css" > rel="stylesheet" /> > > {{include "web2py_ajax.html"}} > > <script type="text/javascript" src="{{=URL('static', > 'uploadify/swfobject.js')}}"></script> > <script type="text/javascript" src="{{=URL('static', > 'uploadify/jquery.uploadify-3.1.min.js')}}"></script> > > > the button appears but doesn't do anything can't select uploads > > Any ideas? > > *cheers > > >

