I am getting a underfined is null or not an object when I click the button that runs this script in IE 7. it works fine in ie8, etc. What could it be>???
function Upload()
{
var objFlash;
var iFlashUploadResult;
if (navigator.appName.indexOf("Microsoft")!=-1) objFlash=window.Picture;
else objFlash=window.document.Picture;
iFlashUploadResult=objFlash.FlashUpload_DoUpload();
if (iFlashUploadResult)
{
//alert('Message sent!');// uploading
}
else
{
alert("Please select file to upload first");
}
}
We would be better able to help you if you showed us more of your code.