I've got a proprietary site that allows federated searching of internal and external sources. The external sources are returned in a tabbed interface and when you click the tab, the query is submitted to the external source and the results are returned within an iframe. Here's some code:
rame id='frameInline' name='frameInline' src='http://www.bing.com/search?q=baseball&qs=n&form=QBLH&pq=baseball&sc=8-0&sp=-1&sk=&cvid=36210970a7a34adf844275a81ca9a75e'
width='98.8%' height='430' frameborder='0' onLoad=\"setHeight('frameI
I would like to grab the src from the iframe and -- instead of running the query in the tabbed iframe -- launch a new window and run the query there, i.e., spawn a new window with window.location='http://www.bing.com/search?q=baseball&qs=n&form=QBLH&pq=baseball&sc=8-0&sp=-1&sk=&cvid=36210970a7a34adf844275a81ca9a75e'
Is this possible? I don't know how to get to the iframe src. Can somebody provide the syntax?
Then, I'll need to replace the contents of tab title link <a href="#fs_tab_2">BING SEARCH</a> so the requestor gets the desired results in a new window.
Thanks for all help and guidance.