We help IT Professionals succeed at work.

Syntax error in code?

error77
error77 asked
on
Medium Priority
260 Views
Last Modified: 2012-05-12
Hi all,

I have this code:

<input id="file_upload" type="file" name="Filedata" />
<p><a href="javascript:$('#file_upload').uploadifyUpload()">Upload Files</a></p>

But it's not calling the select files window when I hit the button.

Is there a syntax problem in the code above?

Thanks
Comment
Watch Question

Principal Consultant
CERTIFIED EXPERT
Commented:
Please add ";" as shown below:

<a href="javascript:$('#file_upload').uploadifyUpload();">Upload Files</a>

Open in new window


Hope this helps!

Regards,

Author

Commented:
Didn't fix the problem be it fixed the syntax and that's what I actually asked for.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.