• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

pass variable in iframe

Guest
Apr 25, 2008 Apr 25, 2008

Copy link to clipboard

Copied

<cfset Number = #Number#> --Variable to pass to iframe---

<iframe src="iframe.cfm?Number=#Number#" height = "200" width = "80%">

it doesn't work. any idea how to pass variable in iframe.

Thanks
TOPICS
Advanced techniques

Views

377

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 25, 2008 Apr 25, 2008

Copy link to clipboard

Copied

LATEST
It should actually work - I have done it before, but remember that the IFRAME tag is a regualr HTML tag, so you will have to surround the #NUMBER# (at the very least) with CFOUTPUT.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation