Do you have a question? Post it now! No Registration Necessary. Now with pictures!
October 17, 2010, 7:56 pm
rate this thread
I want the user to be able to select a month and when the selection is made to
load the graphic in the other frame by changing the src attribute dynamically
The idea is that the user can select a month and the existing weather graph
in the other frame will change to that month.
(BTW: the frames themselves come up ok - one on top and one on bottom)
I have also verified that the right value (the graph file name) is being passed
to the function I put the graphic in its own frame page like this, the page is
The selection window(frame) is a page called wxSelect.html and this
is where i have trouble.
How do i reference the graphic in wxContent.html?
var y=(x.contentWindow || x.contentDocument);
<p><select name="g_month" size="1">
<option selected value="wxGraph_02_2010.gif">Feb 2010</option>
<option value="wxGraph_03_2010.gif">Mar 2010</option>
<option value="wxGraph_04_2010.gif">Apr 2010</option>
<input type="button" value="Go"
- » CSS 2.1 test suite Implementation reports of browser vendors
- — Next thread in » HTML Markup Language
- » HTML head/meta: how to indicate the URL of a translated version of the page
- — Previous thread in » HTML Markup Language