title: Redirect/Change the Hyperlink using javascript
body: <p>I have a page with a iframe in it. On the main page there is a menu. On click of a menu item page gets loaded in to the iframe. There are many hyperlink in the loaded page. Now those hyperlinks should be opened in the same iframe.</p>
  
        
           
         
         
           
        
  
  <p>When some one clicks the hyperlink it will load a page in the iframe.
  My question is :
  instead of loading the page which is defined in the src=&quot;&quot; of hyperlink I want a different page to load after the user clicks the hyperlink.</p>
  <p>I need the java script to change the src=&quot;&quot; parameter.</p>
  <p>I am working in PHP.</p>