php - JQuery not returning value -


I am trying to send a parameter with the request I received using the jQuery plugin. This code used to work a few hours ago.

Help!

  $ (document) .ready (not yet)  

colorful ({width: "38%", inline: true, href: "# project-new "}); Var uploader = new qq.FileUploader ({element: document. GetElementById ('projectCsv'), verb: 'new-project.php', parameters: {name: $ ('# projectName'). Val ()}, Onsite: Function () {if ($ ('$ projectName') .value () Length & lt; 4) {Warning ('The project name must be at least 4 characters long'); return returned;}}, succeed: Function (id, filename, feedback JSON) {var result = response JSON.success; if (result == true) location. Reload (); and return true;}});}); I have worked around it by editing the fileuploader.js (line 1183)

parameter ['name'] = $ ('# project name'). Val ();

And it now works well


Comments