you can insert any value anywhere on the page with the use of objects. eg: layers, form objects, div's etc...
BUT you cannot pass those values with javascript and request them only with javascript if that is the question. You will need server intervention to process that data
____________________________________________________ The most important part of your thread is the subject line.
Make it clear and about the topic so we can find it later for reference. Please!! faq333-2924
I'm sorry, I didn't explainded the problem well, I was in a hurry.
I have a form with two select's, i pass some values from the first to the second and store them in an array, how do i pass the values that are in that array.
<------------------ Function I'm using ---------------
function one2two() {
m1len = m1.length ;
for ( i=0; i<m1len ; i++){
if (m1.options.selected == true ) {
m2len = m2.length;
m2.options[m2len]= new Option(m1.options.text);
}
}
for ( i = (m1len -1); i>=0; i--){
if (m1.options.selected == true ) {
m1.options = null;
}
}
}
function two2one() {
m2len = m2.length ;
for ( i=0; i<m2len ; i++){
if (m2.options.selected == true ) {
m1len = m1.length;
m1.options[m1len]= new Option(m2.options.text);
}
}
for ( i=(m2len-1); i>=0; i--) {
if (m2.options.selected == true ) {
m2.options = null;
}
}
}
<-------------------- The SELECT's -----------------
<select name="m1" multiple size="10">
<option value="45" >1 H Clean</option>
.
.
.
</select>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.