1

I have a website with 3 links at the top. I want to pull up different files into the iframe when the links are clicked. i got the html file to pull up, but i cannot get the php file to pull up.

<a href="records.php" id="records" onClick="changeFrame(this.href); return false">View Records</a>
2
  • Without any code examples it's very difficult to help you find the problem Commented Jul 30, 2011 at 18:13
  • why not use .live() .click() event and als the .load() function of jquery? Commented Jul 30, 2011 at 18:16

1 Answer 1

4

Is this what you are trying to do?

 <a href="http://bing.com" target="myiframe">bing</a>
 <a href="http://google.com" target="myiframe">google</a>
 <iframe src="#" name="myiframe"></iframe>
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.