How to reset input field in the iframe?
        Posted  
        
            by user244394
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user244394
        
        
        
        Published on 2010-06-14T03:10:54Z
        Indexed on 
            2010/06/14
            3:12 UTC
        
        
        Read the original article
        Hit count: 307
        
JavaScript
|iframe
Hi! I have a search input field on the header of the page and when searched the result are displayed in an iframe, which also has the search input box on the iframe.
Problem is how do I go about reseting the input value in the iframe search input field?
It seem to remember the old search from the header, so when you do a search again in the iframe it display the last search, instead of the new search keyword.
You have to refresh or clear the search again to make the search work correctly.
Thanks in advance
© Stack Overflow or respective owner