erich.wanker Posted November 22, 2017 Share Posted November 22, 2017 Hi folks :-) My Question if i drop a file into a UniURLFrame - is it possible to send a AJAX-Info to "TMainForm" ? i want to have as EventName: "file_dropped" and as Params.Values['param0'] the name of the dropped file Why? i use "dropzone.js" for drag&drop functionality - works fine - but i need the info in UNIGUI when a user dropped a file How i made it: Serverside: the Javascripts of dropzone AND a File-upload-PHP Clientside: UniURLFrame with HTML .. the "<form action="/files/js/upload.php" class="dropzone"></form>" sends the files to the PHP .. the PHP saves the file on server... Thanx for suggestions Erich Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 22, 2017 Share Posted November 22, 2017 Hi, Have you tried?: ajaxRequest(MainForm.window, ...) Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted November 23, 2017 Author Share Posted November 23, 2017 ... i tryed to write a more simplier question: http://forums.unigui.com/index.php?/topic/9553-send-ajax-to-mainformform-from-a-other-js-library/ 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.