Welcome Guest, Not a member yet? Register   Sign In
Call javascript (jquery) from iframe on parent?
#1

[eluser]Sven Delle[/eluser]
Struggling with fileupload, I'm trying to inject some javascript code into the iframe used for uploading a file.

I can send:
Code:
echo '[removed]alert("SUCCESS FROM IFRAME");[removed]';

to the iframe and have it work, but I can't send:

Code:
echo "[removed]$('#admin_content').html('HOORAY!!!');[removed]";

Now, is that security or something preventing this?


Messages In This Thread
Call javascript (jquery) from iframe on parent? - by El Forum - 05-01-2012, 06:59 AM
Call javascript (jquery) from iframe on parent? - by El Forum - 05-01-2012, 11:23 AM
Call javascript (jquery) from iframe on parent? - by El Forum - 05-01-2012, 11:40 AM
Call javascript (jquery) from iframe on parent? - by El Forum - 05-01-2012, 11:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB