I would like to use variables that I create in Javascript, for use outside the <script></script> tags.
Through the use of Javascript, say I want to get the "screen.width" value of the current browser, what would I have to do to use that value in my Coldfusion "OUTPUT" tag.
Example:
I would like to get the value of the width of the screen
<script type="text/javascript">
document.write(screen.width)
</script>
And use it here
<cfoutput>
Display Screen width here
</cfoutput>
Through the use of Javascript, say I want to get the "screen.width" value of the current browser, what would I have to do to use that value in my Coldfusion "OUTPUT" tag.
Example:
I would like to get the value of the width of the screen
<script type="text/javascript">
document.write(screen.width)
</script>
And use it here
<cfoutput>
Display Screen width here
</cfoutput>