Can anyone see why it will work on FF but not Safari? When I return information from my CP script that processes the image and returns the image name, it works in FF. Do not go to Safari ...
$ ("#uploadform"). Submit (function (objEvent) {// alert ("Submit"); var jThe = $ (this); var StrName = ("Uploader" + (New Date) GetTime (); var jFrame = $ (" & Lt; iframe name = \ "about + strname +" \ "src = \": blank \ "/ & gt;); JFrame.css (" display "," none "); jFrame.load ( Function (objEvent) {var objUploadBody = window.frames [strName] .document.getElementsByTagName ("body") [0]; var jBody = $ (ObjUploadBody); var objData = eval (jBody.html ()); var thumb = (Holding / '+' Aqual (jBody.html); Set Timeout (function () {jFrame.remove ();}, 100); if (objData! == '') {// Preview here and keep one Load other forms that contain hidden elements To capture the image name // Then use a button to save the image, close the window and update the database with all the information / and reload the main page with the location .reload $ ('# imagePreview $ ('Src', thumbs); $ ('# ImageName') HTML (thumb); $ ('# image preview'). Click (function () {rebinder ();})}} {Warning ("no thumbnail"); }}); $ ("Body: first") .append (jFrame); ("Encoding", "multipart / form-data") .attr ("encoding", "multipart / form-data") .attr ("target", strName); }); I think I have to mess some syntax errors, but I am not enough to do it, not to see it. When I use caution to call the objData variable, it says 'undefined' in Safari, it works as if it does not run CF script ... thanks in advance for any help.
Instead of using it: try to create your empty HTML with empty, body tags I've created a visual source in Safari 4 (Windows) and Chrome: There is nothing in contrast to IE or Firefox in the empty source, try to see HTML in it (objUploadBody) Receive.
Comments
Post a Comment