It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Cross-Domain Javascript

Cross-Domain Javascript

Postby TellaB on Fri Oct 02, 2009 12:39 am

Simple problem, Im trying to make a file uploader using javascript and an iframe but im getting security exceptions whenever i try to access anything inside the iframe .

Is there any way to trick my browser into thinking that the document is running on a domain and not localy or a way to bypass these security exceptions.

Code: Select all
function GetID() {
    alert('ID ' + document.iframe.uploaderform.url.value)
    document.iframe.uploaderform.url.value = 'the url';
}



This is the function im trying to run.
TellaB
 
Posts: 1
Joined: Fri Oct 02, 2009 12:37 am

Who is online

Users browsing this forum: No registered users and 8 guests