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

authentication - Mongodb revoke acccess to connect test database -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

r - Update two sets of radiobuttons reactively - shiny -