erich.wanker Posted November 24, 2017 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
Sherzod Posted November 24, 2017 Posted November 24, 2017 Hi Erich, Please note that javascript is case sensitive Quote
Sherzod Posted November 24, 2017 Posted November 24, 2017 A bit later, I will try to see your caseBetter, if you will make a testcase with dropzone.js Quote
erich.wanker Posted November 24, 2017 Author 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
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.