Reputation: 497
I want to add few ifamres to a page based on the search result from the database. Also I am planing to put those I frames inside a Jquery-UI accordion menu. What is the best way of doing this. I have used PHP for creating the ifamres dynamically.
Upvotes: 0
Views: 402
Reputation: 94409
function searchResult(url){
$("<iframe>").attr("src", url).appendTo("div#result");
}
searchResult("//www.example.com");
Upvotes: 1