I want to be able to control a div layer like a frame.. without using frames. Basically, what I want is when the user clicks a submit button, it calls a javascript function that writes the innerHTML of the layer. I've gotten this to work using the innerHTML script with java, but I was wondering if anybody has gotten this to work with coldfusion tags. Basically, I want to use the javascript to call a cfinclude tag and load the corresponding template.
Example of what I have that doesn't work....
javascript_functions.js
function temp() {
document.getElementById('price_calc').innerHTML = "<cfinclude template=\"temp.cfm\">";
}
Anyone have any ideas?
Example of what I have that doesn't work....
javascript_functions.js
function temp() {
document.getElementById('price_calc').innerHTML = "<cfinclude template=\"temp.cfm\">";
}
Anyone have any ideas?