if you are not on cf8 yet, and the new ajax features are not available
to you (what a pity!), then you could:
1) use a js framework like jQuery to make ajax calls and populate
containers on your page with results
2) use your iframe technique, in either of 2 ways both of which require
your page to already have the target iframe in it*:
a) submit our form to the iframe specifying the iframe's id as the
target of the form and GET as form post method so that you have
url.keyword on the action page
b) change your button's onclick event to:
onclick="(document.getElementById('keyword').value=='') ? alert('Enter a
Keyword!') :
document.getElementById('frame1').src='http://srv08-za199/BI&rs:Command=Render&Key='+document.getElementById('keyword').value;"* though it is possible to create an iframe on the fly, why bother when you could just as well already have an iframe in your page with a blank source page? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ ismail cassiem wrote: > Hi, I need help please. > > I need to create a textbox with a report url in an iframe below. > Onclick of button create IFrame and pass textbox value into parameter of > iframe src. > > I'm not to sure how to do this, i think some javascript is needed as I want > the button to check the textbox is not blank value first and then create > iframe and pass textbox value as parameter. > > [B][U]Does anyone have another method where there are 2 iframes:[/U][/B] > Having the textbox & button in first frame - then Onclick check textbox not > blank and load second iframe - load and pass textbox value as parameter. > > [code:] > <form id="form1"> > <table><tr> > > <input type="text" text="Keyword" id="keyword" value=""> > <input type="button" text="filter" id="filter" onclick=" > <IFRAME id="frame1" > src="http://srv08-za199/BI&rs:Command=Render&Key="+filter.value+"></IFRAME>" > > </tr> > [/code] > > [B]Please Assist![/B] > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315351 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

