I am writing a ColdFusion application and am using Javascript within it. I am working with 2 frames on my window and have the following two problems.
1. I have a <CFERROR TYPE="Request" TEMPLATE="temp.cfm"> in my application.cfm. It's template is currently opening in the frame which is causing the error. I want it to open in the whole window. How can I do this using Javascript?
2. In one of my frames, I am using a <FORM> tag which when submitted should display another template in the same frame. Here is the code:
<FORM METHOD="Post" ACTION="Action.cfm" TARGET="rightFr">
<INPUT TYPE="Submit" Value="Send" >
</FORM>
Somehow, "TARGET" is not doing the job. Any thoughts?
I would appreciate any ideas/suggestions.
Thanks.
1. I have a <CFERROR TYPE="Request" TEMPLATE="temp.cfm"> in my application.cfm. It's template is currently opening in the frame which is causing the error. I want it to open in the whole window. How can I do this using Javascript?
2. In one of my frames, I am using a <FORM> tag which when submitted should display another template in the same frame. Here is the code:
<FORM METHOD="Post" ACTION="Action.cfm" TARGET="rightFr">
<INPUT TYPE="Submit" Value="Send" >
</FORM>
Somehow, "TARGET" is not doing the job. Any thoughts?
I would appreciate any ideas/suggestions.
Thanks.