javascript - iframe tag not loading some URL's -


i passing url's dynamically http://ip:port/myproject/dashboard.do?method=loaddashboard. methods of same action class not loading loading in browser. here method name loaddp. http://ip:port/myproject/dashboard.do?method=loaddp.

$("#containerid").html(' <ifrme id="iframeid" src= '+ url +' style="width: 100%; height: 100%;"></iframe>');

you have typo issues, should have iframe not ifrme missing quotes in src attribute:

$("#containerid").html('<iframe id="iframeid" src="'+ url +'" style="width: 100%; height: 100%;"></iframe>'); //----------------------^^^^^^^^------------------^--here---^ 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -