I have a problem that I hope someone can explain why it is happening
and how to fix it.
In order to explain my problem, I am going to define the word
"container" which i will use often in this post. A container is this:
<CONTAINER>, in other words all the characters between the < and > and
including the < and > signs. (What is the correct term for this
anyhow?) The container is used for placing data from a cgi script on
to a webpage.
Here is my problem: when I put 2 of the same containers very close
together on a page, the first container is filled with data and the
second isn't.
Here is an example:
<select name=PROV>
<option name="value" value="<PROV>" selected><PROV></option>
In the above example there are 2 <PROV> containers that I want to get
filled with the same data. However, only the first container is filled
and the second is left unfilled. This is what it looks like when I
view source of the page:
<select name=PROV>
<option name="value" value="BC" selected><PROV></option>
Yet, if I separate the <PROV> containers by putting the second one
somewhere else on the page, both containers are filled with the data
"BC". WHY?
Is this a widely known problem or is it a unique problem that I am
having because I have a coding error somewhere the page.
All questions and comments are greatly appreciated.
Blaine