jQuery UI Widgets › Forums › General Discussions › Editors › FileUpload › Using jqxFileUpload with Python 3 CGI
Tagged: cgi, File Upload, fileupload, jqxFileUpload, jqxwindow, modal window, multiple modal windows, Python, Python 3 CGI, server side code
This topic contains 4 replies, has 2 voices, and was last updated by Mr.Moo 9 years, 4 months ago.
-
Author
-
Just what the subject says really, could someone please provide me with an example on how to do this please. I’ve tried various options and modified my uploadUrl to a fully qualified host and path (https://my.domain/cgi-bin/uploader.cgi) but I’m getting nothing in return, so any help would be appreciated.
Hello Mr.Moo,
Unfortunately, we do not have experience with Python 3 CGI. Please note, however, that the server-side code corresponding to the jqxFileUpload can be the same as the one you would write if you were using a standard
<input type="file" />. If you are getting any errors in your browser console, please share them and we may be able to provide more guidance.Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/Thanks Dimitar,
I now have this working. But what I would like to do on the uploadEnd event is to display the HTML page response to the user in a popup window. I have seen what I think is a similar thing here (http://www.jqwidgets.com/community/topic/dynamic-modal-window/) but for me this did nothing, I suspect due to the fact that my file upload window is modal.
Is there a way to do this?
Hello Mr.Moo,
There should be no issues in displaying multiple modal jqxWindows on a page. Please make sure you are using the latest version of jQWidgets (4.1.2). If the issue persists, please share a simplified jsEditor example demonstrating the erroneous behaviour.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/Hello Dimitar,
Thank you. You are of course correct the issue was down to me not complying with the required structure as outlined in the link from message No. 3. I have since changed HTML the python generates and using a jQuery filter I extract the root level div tag to display in the window.
-
AuthorPosts
You must be logged in to reply to this topic.