Telerik Forums
UI for PHP Forum
3 answers
55 views
Hi, I'm trying to create an asynchronous upload button via php wrapper. Even copying your example codes, and even running demos in downloaded zip file, I always get this error in browser (chrome latest version):

Uncaught SyntaxError: Unexpected token ]

Just in generated line:

<input type="file" id="" name="" /><script>jQuery(function(){jQuery("#").kendoUpload({"upload":files[],"async":{"saveUrl":"save.php"}});});</script>


I couldn't find anything useful to solve this problem.
Please can you help me?

Warm regards,
Simone
Dimiter Madjarov
Telerik team
 answered on 27 Nov 2013
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?