Cross Browser Solution for XMLhttprequest
I'm currently working on a system built on the joomla framework and it manages videos and other items. Basically, I have an upload area where users can upload content and i'm using uber to manage the uploads. Also, on upload I assign certain tags to items that are upload. The upload content and tags are both handled by too different forms ( This structure cannot change). Basically, I've been using an XMLhttprequest POST to asynchronously send the data of both forms to different places. The issue that i'm having is that the POST sometimes works and sometimes doesn't and I tried using both FormData ( which is not supported by all browsers) and a regular XMLhttprequest by getting data and setting parameters both only work some of the time. Additionally I'm looking for advice on possible solutions if they exist that avoids using JQUERY.
Try the Vanilla method from Mozilla which offers plenty of cross browser compatibility.
Keep scrolling through looking at the various elements and towards the end you can get the full script.
Please remember to wrap any code you have in forum tags:-
[CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]
If you can't think outside the box, you will be trapped forever with no escape...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread