Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

pass parameter from user choice to a query

$
0
0

I have a CFSELECT on the form and link to a query.

I would like to fill details information when user select thew option.

The option is at client side, since user select the option which I need pass my query to get information to fill on the details form on the same form.

 

I tried to use following JavaScripts which fill the details information, but browser goes to the page which I want to fill the details informaiton on the same form.

 

function FillInfo()
{
/*Fill Details Information*/

  var url = 'ccdDetailsInfo.cfm?MyAccount=' + document.getElementById('frmEntry').lstNumber.value;
}

 

I tried to use iFrame, it works and fill on the same form, but everything under iFrame disappear like footer and all other controls in the table.

 

<iframe id="DetailsFrame"  src="ccdDetailsInfo.cfm"</iframe>

 

I tried to use CFINCLUDE the file, but it does not take the paramter from client side.

 

The problem is the query paramter is server side query.

I am looking for a way can pass the client data to server parameter to run the query and to fill details form.

I did some reasearch for this on Google, but no luck,

If you can give me some link regarding pass parameters between client and CF server would be appreciated,

 

Regards,

 

Iccsi,


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>