erich.wanker Posted November 24, 2017 Share Posted November 24, 2017 Hi .. i try to send Ajax to my "Mainform.windows" from a Javascript-Library all things are on the same Server .. The dropzone-Thing works, but i want to handle the events with unigui .. how can a function in "dropzone.js" send infos to "procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings);" i can not use ajaxrequest(Mainform.windows,'eventname',[variable1= ..variable2=..]) in the "dropzone.js" because i get error: ajaxrequest not defined .. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 24, 2017 Share Posted November 24, 2017 Hi Erich, Please note that javascript is case sensitive Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 24, 2017 Share Posted November 24, 2017 A bit later, I will try to see your caseBetter, if you will make a testcase with dropzone.js Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted November 24, 2017 Author Share Posted November 24, 2017 Testcase :-) testcase.zip after the alert -i want to send the infos to the Mainform.form globale_usernummer file.name Please find line in dropzone.js: "alert('User:'+globale_usernummer+' Datei:'+file.name); Hope you can find a solution ;-) ThanX for your help Erich Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.