Jump to content

send ajax to "Main" from UniURLFrame...


erich.wanker

Recommended Posts

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

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...