I have several text input controls whose input I’m using to build a URL and when a button is clicked I want the content of the what the URL points to displayed in a Frame Control. I’m building the URL with JavaScript that is ran when an onClick event for the button fires.
How do I get the URL that I build with the JavaScript to target a Frame Control?
I tried this:
document.getElementById('#{caf:cid("frameURLTest")}').value = url;
where url is the URL I built with the JavaScript and frameURLTest is the Frame Control I want the content displayed in but it did not work.
Is there a way of doing what I want?