javascript - Liferay iframe java script document unavaible -


i have project based on liferay-portal-6.2-ce-ga5. on page want have iframe dynamic height.

right have iframe this:

   <iframe id="1231-iframe" nam="iframe-name" src="http://localhost:123/ca-clickabledummy/test.html" 

page content (on payara41) is:

<!doctype html> <html>  <head>     <title>title</title> </head> <body>     <div style="height: 600px;background-color: #3c763d"> sadas</div> </body> </html> 

but if want iframe content i`m receive bug:

error: permission denied access property "document"

no matter i`m doing jquery/js cannot access property, blocks me.

can me ?


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -