Hey folks. I just discovered <cfwindow> (yeah, yeah I know, I know...)
I think it's great, but I am having an odd issue.
This is what the link looks like: abc.com/page1.cfm?myID=12355431
In page1.cfm, I am using a <cfwindow> tag via an href link. This is how I compiled that piece of code:
Now what happens is when I click the link "Text" the first time, nothing happens, but the second time I click the link the <cfwindow> executes. After spending an hour and countless tries, I realized that the only thing each instance had in common was the URL.
Initially the URL looks like this: abc.com/page1.cfm?myID=12355431
After I click on the link the first time (when nothing happens), the URL looks like this: abc.com/page1.cfm?myID=12355431#
When I click the link again, the <cfwindow> works.
Does passing a var in the URL make <cfwindow> act odd? Why would it work if the URL was:
abc.com/page1.cfm#
abc.com/page1.cfm?myID=12355431#
_____________________________
Just Imagine.
I think it's great, but I am having an odd issue.
This is what the link looks like: abc.com/page1.cfm?myID=12355431
In page1.cfm, I am using a <cfwindow> tag via an href link. This is how I compiled that piece of code:
Code:
<cfoutput query="">
...
...
<a href="##" onclick="javascript:ColdFusion.Window.show('MyWindow');">Text</a>
</cfquery>
...
...
...
<cfwindow
name="MyWindow"
center="true"
closable="true"
draggable="true"
height="200"
resizable="true"
title="#myQuery.ID#"
width="400">
<form name="te" action="yahoo.com" method="post">
<input type="text" name="name" value=""> <br/>
<input type="hidden" name="name" value="<cfoutput>#myQuery.ID#</cfoutput>"> <br/>
<input type="submit" name="submit" value="submit"><br/>
</form>
</cfwindow>
Now what happens is when I click the link "Text" the first time, nothing happens, but the second time I click the link the <cfwindow> executes. After spending an hour and countless tries, I realized that the only thing each instance had in common was the URL.
Initially the URL looks like this: abc.com/page1.cfm?myID=12355431
After I click on the link the first time (when nothing happens), the URL looks like this: abc.com/page1.cfm?myID=12355431#
When I click the link again, the <cfwindow> works.
Does passing a var in the URL make <cfwindow> act odd? Why would it work if the URL was:
abc.com/page1.cfm#
abc.com/page1.cfm?myID=12355431#
_____________________________
Just Imagine.