View Full Version : DHTML/ AJAX help?
Beatmaster
04-19-2007, 09:09 PM
I would like to load a hidden IFRAME when I select an option from a combo box. Then I would like to update the iframe with the appropriate page and then update the innerHTML of a certain div to the HTML in the hidden iframe. Anyone know how to do this?
Pitchy
04-19-2007, 09:10 PM
Give your iFrame a name, such as CONTENTSECTIONHave it load a default and blank page so it will appear to be hidden such as empty.htmThen in your drop down box, set the Target for each link or page to open, to open in CONTENTSECTIONView Page 1
Jake Cigar
04-19-2007, 09:57 PM
dhtml & iframes are last century's tools! AJAX does it better!$("#certainDiv") .load("appropriatepage") is the exact code using jquery!http://jquery.com Join the new world of javascript!a fuller solution could include parsing the appropriate page or throwing it into a setInterval!
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.