0

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.

1 Answer 1

1
function searchResult(url){
    $("<iframe>").attr("src", url).appendTo("div#result");
}

searchResult("//www.example.com");
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.