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

Re: Pass variable in Dateadd() function

$
0
0

Javascript runs on the browser, ColdFusion on the server. Hence, Javascript variables are not available to ColdFusion.

 

You are apparently aware of one way of passing the variable to ColdFusion, namely, by submitting a form. The variable is then available on the form's action page as form.txt_expiration.

 

However, I was wondering why don't just do the obvious. Get the value of txt_expiration directly from the query!


Viewing all articles
Browse latest Browse all 21760

Trending Articles



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