Function doesnt work in Safari

E

effendi

I wrote the following function and tested it in MSIE, Firefox and Mac
Safari, Works in all but the Safari. What can I do to rectify this?

function processBackground(){ for (n=1;n<11;n++)
{

cellrow="r"+n
for (i=1;i<17;i++){
cell=cellrow+"w"+i
cellName=cell+"_ID"
thisForm=document.forms[0]
if (document.all[cell].value==="X"){
document.all[cellName].style.backgroundColor='#84DFC1'
}
}
}
}
 
O

Otto Lang

I wrote the following function and tested it in MSIE, Firefox and Mac
Safari, Works in all but the Safari. What can I do to rectify this?

function processBackground(){ for (n=1;n<11;n++)
{
cellrow="r"+n
for (i=1;i<17;i++){
cell=cellrow+"w"+i
cellName=cell+"_ID"
thisForm=document.forms[0]
if (document.all[cell].value==="X"){
document.all[cellName].style.backgroundColor='#84DFC1'
}
}
}
}

Safari doesn't know about the document.all object. So this function will
not work with Safari.

../otto
 
L

Laurent Bugnion

Hi,

Otto said:
I wrote the following function and tested it in MSIE, Firefox and Mac
Safari, Works in all but the Safari. What can I do to rectify this?

function processBackground(){ for (n=1;n<11;n++)
{
cellrow="r"+n
for (i=1;i<17;i++){
cell=cellrow+"w"+i
cellName=cell+"_ID"
thisForm=document.forms[0]
if (document.all[cell].value==="X"){
document.all[cellName].style.backgroundColor='#84DFC1'
}
}
}
}

Safari doesn't know about the document.all object. So this function will
not work with Safari.

./otto

To make your reply even better, you could have suggested using
document.getElementById instead ;-)

HTH,
Laurent
 
E

effendi

Laurent said:
Hi,

Otto said:
I wrote the following function and tested it in MSIE, Firefox and Mac
Safari, Works in all but the Safari. What can I do to rectify this?

function processBackground(){ for (n=1;n<11;n++)
{
cellrow="r"+n
for (i=1;i<17;i++){
cell=cellrow+"w"+i
cellName=cell+"_ID"
thisForm=document.forms[0]
if (document.all[cell].value==="X"){
document.all[cellName].style.backgroundColor='#84DFC1'
}
}
}
}

Safari doesn't know about the document.all object. So this function will
not work with Safari.

./otto

To make your reply even better, you could have suggested using
document.getElementById instead ;-)

HTH,
Laurent



Lauren

I tried tthat and I also changed the code to use
document.form[0].element[cell] but still ran into problem.
 
E

effendi

Laurent said:
Hi,

Otto said:
I wrote the following function and tested it in MSIE, Firefox and Mac
Safari, Works in all but the Safari. What can I do to rectify this?

function processBackground(){ for (n=1;n<11;n++)
{
cellrow="r"+n
for (i=1;i<17;i++){
cell=cellrow+"w"+i
cellName=cell+"_ID"
thisForm=document.forms[0]
if (document.all[cell].value==="X"){
document.all[cellName].style.backgroundColor='#84DFC1'
}
}
}
}

Safari doesn't know about the document.all object. So this function will
not work with Safari.

./otto

To make your reply even better, you could have suggested using
document.getElementById instead ;-)

HTH,
Laurent



Lauren

I tried tthat and I also changed the code to use
document.form[0].element[cell] but still ran into problem.

Lauran

I tried the getElementById again and it works. I encountered one hitch;
I had a line

document.getElementbyId(cellName).value=x

this sets a value to a field with an ID "cellName". The field is type
hidden, the value does not get set when the field is hidden (checking
after submitting the document) but when I unhde the field it can be set
correctly to X. Is there something I miss out?

Thanks
 
L

Laurent Bugnion

Hi,

Lauran

I tried the getElementById again and it works. I encountered one hitch;
I had a line

document.getElementbyId(cellName).value=x

this sets a value to a field with an ID "cellName".

Actually, this sets a value to a field of which the ID is contained in
the variable cellName. For example, if cellName = "abcd", then you set
the value in the cell IDed "abcd".
The field is type
hidden, the value does not get set when the field is hidden (checking
after submitting the document) but when I unhde the field it can be set
correctly to X.

When you say hidden, what do you mean? Do you mean a input
type="hidden", or is the field set to invisible on the client? On the
server?

Try to publish an extract of your code where the problem is
reproducible. Try to trim the code so that only what's needed remains.
This way we will be able to check it in good conditions.
Is there something I miss out?

Thanks

HTH,
Laurent
 
E

effendi

Laurent said:
Hi,



Actually, this sets a value to a field of which the ID is contained in
the variable cellName. For example, if cellName = "abcd", then you set
the value in the cell IDed "abcd".


When you say hidden, what do you mean? Do you mean a input
type="hidden", or is the field set to invisible on the client? On the
server?

Try to publish an extract of your code where the problem is
reproducible. Try to trim the code so that only what's needed remains.
This way we will be able to check it in good conditions.


HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch

Lauren

This is the js file I have in my system

function setBackground(cellName){
if (document.forms[0].IsEditDoc.value=="Yes"){
cellID=cellName+"_ID";
cellName=cellName+"ID"
document.getElementById(cellID).style.backgroundColor='#84DFC1'
document.getElementById(cellName).value="X"}
else
{alert("Please click on the Edit button")}
}


function unsetBackground(cellName){
if (document.forms[0].IsEditDoc.value=="Yes"){
cellID=cellName+"_ID";
cellNumber=cellName.split("w")
cellName=cellName+"ID"
flag=cellNumber[1]%2
if (flag==1){
document.getElementById(cellID).style.backgroundColor='#F6FBf3'
}
else
{
document.getElementById(cellID).style.backgroundColor='transparent'
}
document.getElementById(cellName).value=""}
}

I have a table which contains fields in each column and rows, The field
is names r1w1 where r is row and w is column is goes from 1 to 17
column and there are 10 rows

The fields has an ID r1w1ID and I also IDed the table cells r1w1_ID to
address the colour of the cells.

here is the html of the page.

<table class="workplan" cellspacing="0" border="1">
<tr valign="top"><td width="350" width="107" bgcolor="#F0E8F0"
colspan="2"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td width="100%" width="853" bgcolor="#F0E8F0"
colspan="16"><div align="center">Week</div></td></tr>

<tr valign="top"><td width="270" width="53"
bgcolor="#F0E8F0">Work/Task</td><td width="80" width="53"
bgcolor="#F0E8F0">Person</td><td width="53" bgcolor="#F0E8F0"><div
align="center">1</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">2</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">3</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">4</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">5</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">6</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">7</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">8</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">9</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">10</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">11</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">12</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">13</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">14</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">15</div></td><td width="53" bgcolor="#F0E8F0"><div
align="center">16</div></td></tr>

<tr valign="top"><td class="workplan td" width="53" bgcolor="#FFFFD0">
<input name="Person1" value="" style="border-width : 0px;
background-color: transparent; cellpadding: 0px; margin: 0px"
title="Enter a short description of the task"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td class="workplan td" style=" "
width="100px" width="53" bgcolor="#FFFFD0">
<input name="Task1" value="" style=" border-width : 0px;
background-color: transparent;"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td id="r1w1_ID" class="workplan td"
onClick=setBackground("r1w1") unsetBackground("r1w1")
onFocus=changeStyle("r1w1") onBlur=unchangeStyle("r1w1")
onDblClick=unsetBackground("r1w1") width="53" bgcolor="#F6FBF3"><img
src="/icons/ecblank.gif" border="0" height="1" width="1"
alt=""></td><td id="r1w2_ID" class="workplan td"
onClick=setBackground("r1w2") onDblClick=unsetBackground("r1w2")
onFocus=changeStyle("r1w2") onBlur=unchangeStyle("r1w2")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r1w3_ID" class="workplan td"
onClick=setBackground("r1w3") onDblClick=unsetBackground("r1w3")
onFocus=changeStyle("r1w3") onBlur=unchangeStyle("r1w3") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r1w4_ID" class="workplan td"
onClick=setBackground("r1w4") onDblClick=unsetBackground("r1w4")
onFocus=changeStyle("r1w4") onBlur=unchangeStyle("r1w4")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r1w5_ID" class="workplan td"
onClick=setBackground("r1w5") onDblClick=unsetBackground("r1w5")
onFocus=changeStyle("r1w5") onBlur=unchangeStyle("r1w5") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r1w6_ID" class="workplan td"
onClick=setBackground("r1w6") onDblClick=unsetBackground("r1w6")
onFocus=changeStyle("r1w6") onBlur=unchangeStyle("r1w6")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r1w7_ID" class="workplan td" style=" "
onClick=setBackground("r1w7") onDblClick=unsetBackground("r1w7")
onFocus=changeStyle("r1w7") onBlur=unchangeStyle("r1w7") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r1w8_ID" class="workplan td"
onClick=setBackground("r1w8") onDblClick=unsetBackground("r1w8")
onFocus=changeStyle("r1w8") onBlur=unchangeStyle("r1w8")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r1w9_ID" class="workplan td"
onClick=setBackground("r1w9") onDblClick=unsetBackground("r1w9")
onFocus=changeStyle("r1w9") onBlur=unchangeStyle("r1w9") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r1w10_ID" class="workplan td"
onClick=setBackground("r1w10") onDblClick=unsetBackground("r1w10")
onFocus=changeStyle("r1w10") onBlur=unchangeStyle("r1w10")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r1w11_ID" class="workplan td"
onClick=setBackground("r1w11") onDblClick=unsetBackground("r1w11")
onFocus=changeStyle("r1w11") onBlur=unchangeStyle("r1w11") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r1w12_ID" class="workplan td"
onClick=setBackground("r1w12") onDblClick=unsetBackground("r1w12")
onFocus=changeStyle("r1w12") onBlur=unchangeStyle("r1w12")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r1w13_ID" class="workplan td"
onClick=setBackground("r1w13") onDblClick=unsetBackground("r1w13")
onFocus=changeStyle("r1w13") onBlur=unchangeStyle("r1w13") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r1w14_ID" class="workplan td"
onClick=setBackground("r1w14") onDblClick=unsetBackground("r1w14")
onFocus=changeStyle("r1w14") onBlur=unchangeStyle("r1w14")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r1w15_ID" class="workplan td"
onClick=setBackground("r1w15") onDblClick=unsetBackground("r1w15")
onFocus=changeStyle("r1w15") onBlur=unchangeStyle("r1w15") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r1w16_ID" class="workplan td"
onClick=setBackground("r1w16") onDblClick=unsetBackground("r1w16")
onFocus=changeStyle("r1w16") onBlur=unchangeStyle("r1w16")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td></tr>

<tr valign="top"><td class="workplan td" width="53" bgcolor="#FFFFD0">
<input name="Person1_1" value="" style=" border-width : 0px;
background-color: transparent;" size="20"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td class="workplan td" width="53"
bgcolor="#FFFFD0">
<input name="Task1_1" value="" style=" border-width : 0px;
background-color: transparent;"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td id="r2w1_ID" class="workplan td"
onClick=setBackground("r2w1") onDblClick=unsetBackground("r2w1")
onFocus=changeStyle("r2w1") onBlur=unchangeStyle("r2w1") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w2_ID" class="workplan td"
onClick=setBackground("r2w2") onDblClick=unsetBackground("r2w2")
onFocus=changeStyle("r2w2") onBlur=unchangeStyle("r2w2")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w3_ID" class="workplan td"
onClick=setBackground("r2w3") onDblClick=unsetBackground("r2w3")
onFocus=changeStyle("r2w3") onBlur=unchangeStyle("r2w3") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w4_ID" class="workplan td"
onClick=setBackground("r2w4") onDblClick=unsetBackground("r2w4")
onFocus=changeStyle("r2w4") onBlur=unchangeStyle("r2w4")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w5_ID" class="workplan td"
onClick=setBackground("r2w5") onDblClick=unsetBackground("r2w5")
onFocus=changeStyle("r2w5") onBlur=unchangeStyle("r2w5") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w6_ID" class="workplan td"
onClick=setBackground("r2w6") onDblClick=unsetBackground("r2w6")
onFocus=changeStyle("r2w6") onBlur=unchangeStyle("r2w6")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w7_ID" class="workplan td"
onClick=setBackground("r2w7") onDblClick=unsetBackground("r2w7")
onFocus=changeStyle("r2w7") onBlur=unchangeStyle("r2w7") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w8_ID" class="workplan td"
onClick=setBackground("r2w8") onDblClick=unsetBackground("r2w8")
onFocus=changeStyle("r2w8") onBlur=unchangeStyle("r2w8")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w9_ID" class="workplan td"
onClick=setBackground("r2w9") onDblClick=unsetBackground("r2w9")
onFocus=changeStyle("r2w9") onBlur=unchangeStyle("r2w9") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w10_ID" class="workplan td"
onClick=setBackground("r2w10") onDblClick=unsetBackground("r2w10")
onFocus=changeStyle("r2w10") onBlur=unchangeStyle("r2w10")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w11_ID" class="workplan td"
onClick=setBackground("r2w11") onDblClick=unsetBackground("r2w11")
onFocus=changeStyle("r2w11") onBlur=unchangeStyle("r2w11") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w12_ID" class="workplan td"
onClick=setBackground("r2w12") onDblClick=unsetBackground("r2w12")
onFocus=changeStyle("r2w12") onBlur=unchangeStyle("r2w12")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w13_ID" class="workplan td"
onClick=setBackground("r2w13") onDblClick=unsetBackground("r2w13")
onFocus=changeStyle("r2w13") onBlur=unchangeStyle("r2w13") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w14_ID" class="workplan td"
onClick=setBackground("r2w14") onDblClick=unsetBackground("r2w14")
onFocus=changeStyle("r2w14") onBlur=unchangeStyle("r2w14")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w15_ID" class="workplan td"
onClick=setBackground("r2w15") onDblClick=unsetBackground("r2w15")
onFocus=changeStyle("r2w15") onBlur=unchangeStyle("r2w15") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r2w16_ID" class="workplan td"
onClick=setBackground("r2w16") onDblClick=unsetBackground("r2w16")
onFocus=changeStyle("r2w16") onBlur=unchangeStyle("r2w16")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td></tr>

<tr valign="top"><td class="workplan td" width="53" bgcolor="#FFFFD0">
<input name="Person1_1_1" value="" style=" border-width : 0px;
background-color: transparent;" size="20"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td class="workplan td" width="53"
bgcolor="#FFFFD0">
<input name="Task1_1_1" value="" style=" border-width : 0px;
background-color: transparent;"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td id="r3w1_ID" class="workplan td"
onClick=setBackground("r3w1") onDblClick=unsetBackground("r3w1")
onFocus=changeStyle("r3w1") onBlur=unchangeStyle("r3w1") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w2_ID" class="workplan td"
onClick=setBackground("r3w2") onDblClick=unsetBackground("r3w2")
onFocus=changeStyle("r3w2") onBlur=unchangeStyle("r3w2")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w3_ID" class="workplan td"
onClick=setBackground("r3w3") onDblClick=unsetBackground("r3w3")
onFocus=changeStyle("r3w3") onBlur=unchangeStyle("r3w3") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w4_ID" class="workplan td"
onClick=setBackground("r3w4") onDblClick=unsetBackground("r3w4")
onFocus=changeStyle("r3w4") onBlur=unchangeStyle("r3w4")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w5_ID" class="workplan td"
onClick=setBackground("r3w5") onDblClick=unsetBackground("r3w5")
onFocus=changeStyle("r3w5") onBlur=unchangeStyle("r3w5") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w6_ID" class="workplan td"
onClick=setBackground("r3w6") onDblClick=unsetBackground("r3w6")
onFocus=changeStyle("r3w6") onBlur=unchangeStyle("r3w6")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w7_ID" class="workplan td"
onClick=setBackground("r3w7") onDblClick=unsetBackground("r3w7")
onFocus=changeStyle("r3w7") onBlur=unchangeStyle("r3w7") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w8_ID" class="workplan td"
onClick=setBackground("r3w8") onDblClick=unsetBackground("r3w8")
onFocus=changeStyle("r3w8") onBlur=unchangeStyle("r3w8")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w9_ID" class="workplan td"
onClick=setBackground("r3w9") onDblClick=unsetBackground("r3w9")
onFocus=changeStyle("r3w9") onBlur=unchangeStyle("r3w9") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w10_ID" class="workplan td"
onClick=setBackground("r3w10") onDblClick=unsetBackground("r3w10")
onFocus=changeStyle("r3w10") onBlur=unchangeStyle("r3w10")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w11_ID" class="workplan td"
onClick=setBackground("r3w11") onDblClick=unsetBackground("r3w11")
onFocus=changeStyle("r3w11") onBlur=unchangeStyle("r3w11") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w12_ID" class="workplan td"
onClick=setBackground("r3w12") onDblClick=unsetBackground("r3w12")
onFocus=changeStyle("r3w12") onBlur=unchangeStyle("r3w12")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w13_ID" class="workplan td"
onClick=setBackground("r3w13") onDblClick=unsetBackground("r3w13")
onFocus=changeStyle("r3w13") onBlur=unchangeStyle("r3w13") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w14_ID" class="workplan td"
onClick=setBackground("r3w14") onDblClick=unsetBackground("r3w14")
onFocus=changeStyle("r3w14") onBlur=unchangeStyle("r3w14")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w15_ID" class="workplan td"
onClick=setBackground("r3w15") onDblClick=unsetBackground("r3w15")
onFocus=changeStyle("r3w15") onBlur=unchangeStyle("r3w15") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r3w16_ID" class="workplan td"
onClick=setBackground("r3w16") onDblClick=unsetBackground("r3w16")
onFocus=changeStyle("r3w16") onBlur=unchangeStyle("r3w16")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td></tr>

<tr valign="top"><td class="workplan td" width="53" bgcolor="#FFFFD0">
<input name="Person1_1_1_1" value="" style=" border-width : 0px;
background-color: transparent;" size="20"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td class="workplan td" width="53"
bgcolor="#FFFFD0">
<input name="Task1_1_1_1" value="" style=" border-width : 0px;
background-color: transparent;"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td id="r4w1_ID" class="workplan td"
onClick=setBackground("r4w1") onDblClick=unsetBackground("r4w1")
onFocus=changeStyle("r4w1") onBlur=unchangeStyle("r4w1") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w2_ID" class="workplan td"
onClick=setBackground("r4w2") onDblClick=unsetBackground("r4w2")
onFocus=changeStyle("r4w2") onBlur=unchangeStyle("r4w2")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w3_ID" class="workplan td"
onClick=setBackground("r4w3") onDblClick=unsetBackground("r4w3")
onFocus=changeStyle("r4w3") onBlur=unchangeStyle("r4w3") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w4_ID" class="workplan td"
onClick=setBackground("r4w4") onDblClick=unsetBackground("r4w4")
onFocus=changeStyle("r4w4") onBlur=unchangeStyle("r4w4")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w5_ID" class="workplan td"
onClick=setBackground("r4w5") onDblClick=unsetBackground("r4w5")
onFocus=changeStyle("r4w5") onBlur=unchangeStyle("r4w5") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w6_ID" class="workplan td"
onClick=setBackground("r4w6") onDblClick=unsetBackground("r4w6")
onFocus=changeStyle("r4w6") onBlur=unchangeStyle("r4w6")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w7_ID" class="workplan td"
onClick=setBackground("r4w7") onDblClick=unsetBackground("r4w7")
onFocus=changeStyle("r4w7") onBlur=unchangeStyle("r4w7") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w8_ID" class="workplan td"
onClick=setBackground("r4w8") onDblClick=unsetBackground("r4w8")
onFocus=changeStyle("r4w8") onBlur=unchangeStyle("r4w8")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w9_ID" class="workplan td"
onClick=setBackground("r4w9") onDblClick=unsetBackground("r4w9")
onFocus=changeStyle("r4w9") onBlur=unchangeStyle("r4w9") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w10_ID" class="workplan td"
onClick=setBackground("r4w10") onDblClick=unsetBackground("r4w10")
onFocus=changeStyle("r4w10") onBlur=unchangeStyle("r4w10")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w11_ID" class="workplan td"
onClick=setBackground("r4w11") onDblClick=unsetBackground("r4w11")
onFocus=changeStyle("r4w11") onBlur=unchangeStyle("r4w11") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w12_ID" class="workplan td"
onClick=setBackground("r4w12") onDblClick=unsetBackground("r4w12")
onFocus=changeStyle("r4w12") onBlur=unchangeStyle("r4w12")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w13_ID" class="workplan td"
onClick=setBackground("r4w13") onDblClick=unsetBackground("r4w13")
onFocus=changeStyle("r4w13") onBlur=unchangeStyle("r4w13") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w14_ID" class="workplan td"
onClick=setBackground("r4w14") onDblClick=unsetBackground("r4w14")
onFocus=changeStyle("r4w14") onBlur=unchangeStyle("r4w14")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w15_ID" class="workplan td"
onClick=setBackground("r4w15") onDblClick=unsetBackground("r4w15")
onFocus=changeStyle("r4w15") onBlur=unchangeStyle("r4w15") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r4w16_ID" class="workplan td"
onClick=setBackground("r4w16") onDblClick=unsetBackground("r4w16")
onFocus=changeStyle("r4w16") onBlur=unchangeStyle("r4w16")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td></tr>

<tr valign="top"><td class="workplan td" width="53" bgcolor="#FFFFD0">
<input name="Person1_1_1_1_1" value="" style=" border-width : 0px;
background-color: transparent;" size="20"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td class="workplan td" width="53"
bgcolor="#FFFFD0">
<input name="Task1_1_1_1_1" value="" style=" border-width : 0px;
background-color: transparent;"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td id="r5w1_ID" class="workplan td"
onClick=setBackground("r5w1") onDblClick=unsetBackground("r5w1")
onFocus=changeStyle("r5w1") onBlur=unchangeStyle("r5w1") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w2_ID" class="workplan td"
onClick=setBackground("r5w2") onDblClick=unsetBackground("r5w2")
onFocus=changeStyle("r5w2") onBlur=unchangeStyle("r5w2")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w3_ID" class="workplan td"
onClick=setBackground("r5w3") onDblClick=unsetBackground("r5w3")
onFocus=changeStyle("r5w3") onBlur=unchangeStyle("r5w3") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w4_ID" class="workplan td"
onClick=setBackground("r5w4") onDblClick=unsetBackground("r5w4")
onFocus=changeStyle("r5w4") onBlur=unchangeStyle("r5w4")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w5_ID" class="workplan td"
onClick=setBackground("r5w5") onDblClick=unsetBackground("r5w5")
onFocus=changeStyle("r5w5") onBlur=unchangeStyle("r5w5") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w6_ID" class="workplan td"
onClick=setBackground("r5w6") onDblClick=unsetBackground("r5w6")
onFocus=changeStyle("r5w6") onBlur=unchangeStyle("r5w6")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w7_ID" class="workplan td"
onClick=setBackground("r5w7") onDblClick=unsetBackground("r5w7")
onFocus=changeStyle("r5w7") onBlur=unchangeStyle("r5w7") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w8_ID" class="workplan td"
onClick=setBackground("r5w8") onDblClick=unsetBackground("r5w8")
onFocus=changeStyle("r5w8") onBlur=unchangeStyle("r5w8")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w9_ID" class="workplan td"
onClick=setBackground("r5w9") onDblClick=unsetBackground("r5w9")
onFocus=changeStyle("r5w9") onBlur=unchangeStyle("r5w9") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w10_ID" class="workplan td"
onClick=setBackground("r5w10") onDblClick=unsetBackground("r5w10")
onFocus=changeStyle("r5w10") onBlur=unchangeStyle("r5w10")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w11_ID" class="workplan td"
onClick=setBackground("r5w11") onDblClick=unsetBackground("r5w11")
onFocus=changeStyle("r5w11") onBlur=unchangeStyle("r5w11") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w12_ID" class="workplan td"
onClick=setBackground("r5w12") onDblClick=unsetBackground("r5w12")
onFocus=changeStyle("r5w12") onBlur=unchangeStyle("r5w12")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w13_ID" class="workplan td"
onClick=setBackground("r5w13") onDblClick=unsetBackground("r5w13")
onFocus=changeStyle("r5w13") onBlur=unchangeStyle("r5w13") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w14_ID" class="workplan td"
onClick=setBackground("r5w14") onDblClick=unsetBackground("r5w14")
onFocus=changeStyle("r5w14") onBlur=unchangeStyle("r5w14")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w15_ID" class="workplan td"
onClick=setBackground("r5w15") onDblClick=unsetBackground("r5w15")
onFocus=changeStyle("r5w15") onBlur=unchangeStyle("r5w15") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r5w16_ID" class="workplan td"
onClick=setBackground("r5w16") onDblClick=unsetBackground("r5w16")
onFocus=changeStyle("r5w16") onBlur=unchangeStyle("r5w16")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td></tr>

<tr valign="top"><td class="workplan td" width="53" bgcolor="#FFFFD0">
<input name="Person1_1_1_1_1_1" value="" style=" border-width : 0px;
background-color: transparent;" size="20"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td class="workplan td" width="53"
bgcolor="#FFFFD0">
<input name="Task1_1_1_1_1_1" value="" style=" border-width : 0px;
background-color: transparent;"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td id="r6w1_ID" class="workplan td"
onClick=setBackground("r6w1") onDblClick=unsetBackground("r6w1")
onFocus=changeStyle("r6w1") onBlur=unchangeStyle("r6w1") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w2_ID" class="workplan td"
onClick=setBackground("r6w2") onDblClick=unsetBackground("r6w2")
onFocus=changeStyle("r6w2") onBlur=unchangeStyle("r6w2")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w3_ID" class="workplan td"
onClick=setBackground("r6w3") onDblClick=unsetBackground("r6w3")
onFocus=changeStyle("r6w3") onBlur=unchangeStyle("r6w3") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w4_ID" class="workplan td"
onClick=setBackground("r6w4") onDblClick=unsetBackground("r6w4")
onFocus=changeStyle("r6w4") onBlur=unchangeStyle("r6w4")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w5_ID" class="workplan td"
onClick=setBackground("r6w5") onDblClick=unsetBackground("r6w5")
onFocus=changeStyle("r6w5") onBlur=unchangeStyle("r6w5") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w6_ID" class="workplan td"
onClick=setBackground("r6w6") onDblClick=unsetBackground("r6w6")
onFocus=changeStyle("r6w6") onBlur=unchangeStyle("r6w6")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w7_ID" class="workplan td"
onClick=setBackground("r6w7") onDblClick=unsetBackground("r6w7")
onFocus=changeStyle("r6w7") onBlur=unchangeStyle("r6w7") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w8_ID" class="workplan td"
onClick=setBackground("r6w8") onDblClick=unsetBackground("r6w8")
onFocus=changeStyle("r6w8") onBlur=unchangeStyle("r6w8")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w9_ID" class="workplan td"
onClick=setBackground("r6w9") onDblClick=unsetBackground("r6w9")
onFocus=changeStyle("r6w9") onBlur=unchangeStyle("r6w9") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w10_ID" class="workplan td"
onClick=setBackground("r6w10") onDblClick=unsetBackground("r6w10")
onFocus=changeStyle("r6w10") onBlur=unchangeStyle("r6w10")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w11_ID" class="workplan td"
onClick=setBackground("r6w11") onDblClick=unsetBackground("r6w11")
onFocus=changeStyle("r6w11") onBlur=unchangeStyle("r6w11") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w12_ID" class="workplan td"
onClick=setBackground("r6w12") onDblClick=unsetBackground("r6w12")
onFocus=changeStyle("r6w12") onBlur=unchangeStyle("r6w12")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w13_ID" class="workplan td"
onClick=setBackground("r6w13") onDblClick=unsetBackground("r6w13")
onFocus=changeStyle("r6w13") onBlur=unchangeStyle("r6w13") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w14_ID" class="workplan td"
onClick=setBackground("r6w14") onDblClick=unsetBackground("r6w14")
onFocus=changeStyle("r6w14") onBlur=unchangeStyle("r6w14")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w15_ID" class="workplan td"
onClick=setBackground("r6w15") onDblClick=unsetBackground("r6w15")
onFocus=changeStyle("r6w15") onBlur=unchangeStyle("r6w15") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r6w16_ID" class="workplan td"
onClick=setBackground("r6w16") onDblClick=unsetBackground("r6w16")
onFocus=changeStyle("r6w16") onBlur=unchangeStyle("r6w16")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td></tr>

<tr valign="top"><td class="workplan td" width="53" bgcolor="#FFFFD0">
<input name="Person1_1_1_1_1_1_1" value="" style=" border-width : 0px;
background-color: transparent;" size="20"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td class="workplan td" width="53"
bgcolor="#FFFFD0">
<input name="Task1_1_1_1_1_1_1" value="" style=" border-width : 0px;
background-color: transparent;"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td id="r7w1_ID" class="workplan td"
onClick=setBackground("r7w1") onDblClick=unsetBackground("r7w1")
onFocus=changeStyle("r7w1") onBlur=unchangeStyle("r7w1") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w2_ID" class="workplan td"
onClick=setBackground("r7w2") onDblClick=unsetBackground("r7w2")
onFocus=changeStyle("r7w2") onBlur=unchangeStyle("r7w2")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w3_ID" class="workplan td"
onClick=setBackground("r7w3") onDblClick=unsetBackground("r7w3")
onFocus=changeStyle("r7w3") onBlur=unchangeStyle("r7w3") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w4_ID" class="workplan td"
onClick=setBackground("r7w4") onDblClick=unsetBackground("r7w4")
onFocus=changeStyle("r7w4") onBlur=unchangeStyle("r7w4")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w5_ID" class="workplan td"
onClick=setBackground("r7w5") onDblClick=unsetBackground("r7w5")
onFocus=changeStyle("r7w5") onBlur=unchangeStyle("r7w5") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w6_ID" class="workplan td"
onClick=setBackground("r7w6") onDblClick=unsetBackground("r7w6")
onFocus=changeStyle("r7w6") onBlur=unchangeStyle("r7w6")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w7_ID" class="workplan td"
onClick=setBackground("r7w7") onDblClick=unsetBackground("r7w7")
onFocus=changeStyle("r7w7") onBlur=unchangeStyle("r7w7") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w8_ID" class="workplan td"
onClick=setBackground("r7w8") onDblClick=unsetBackground("r7w8")
onFocus=changeStyle("r7w8") onBlur=unchangeStyle("r7w8")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w9_ID" class="workplan td"
onClick=setBackground("r7w9") onDblClick=unsetBackground("r7w9")
onFocus=changeStyle("r7w9") onBlur=unchangeStyle("r7w9") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w10_ID" class="workplan td"
onClick=setBackground("r7w10") onDblClick=unsetBackground("r7w10")
onFocus=changeStyle("r7w10") onBlur=unchangeStyle("r7w10")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w11_ID" class="workplan td"
onClick=setBackground("r7w11") onDblClick=unsetBackground("r7w11")
onFocus=changeStyle("r7w11") onBlur=unchangeStyle("r7w11") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w12_ID" class="workplan td"
onClick=setBackground("r7w12") onDblClick=unsetBackground("r7w12")
onFocus=changeStyle("r7w12") onBlur=unchangeStyle("r7w12")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w13_ID" class="workplan td"
onClick=setBackground("r7w13") onDblClick=unsetBackground("r7w13")
onFocus=changeStyle("r7w13") onBlur=unchangeStyle("r7w13") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w14_ID" class="workplan td"
onClick=setBackground("r7w14") onDblClick=unsetBackground("r7w14")
onFocus=changeStyle("r7w14") onBlur=unchangeStyle("r7w14")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w15_ID" class="workplan td"
onClick=setBackground("r7w15") onDblClick=unsetBackground("r7w15")
onFocus=changeStyle("r7w15") onBlur=unchangeStyle("r7w15") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r7w16_ID" class="workplan td"
onClick=setBackground("r7w16") onDblClick=unsetBackground("r7w16")
onFocus=changeStyle("r7w16") onBlur=unchangeStyle("r7w16")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td></tr>

<tr valign="top"><td class="workplan td" width="53" bgcolor="#FFFFD0">
<input name="Person1_1_1_1_1_1_1_1" value="" style=" border-width :
0px; background-color: transparent;" size="20"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td class="workplan td" width="53"
bgcolor="#FFFFD0">
<input name="Task1_1_1_1_1_1_1_1" value="" style=" border-width : 0px;
background-color: transparent;"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td id="r8w1_ID" class="workplan td"
onClick=setBackground("r8w1") onDblClick=unsetBackground("r8w1")
onFocus=changeStyle("r8w1") onBlur=unchangeStyle("r8w1") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w2_ID" class="workplan td"
onClick=setBackground("r8w2") onDblClick=unsetBackground("r8w2")
onFocus=changeStyle("r8w2") onBlur=unchangeStyle("r8w2")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w3_ID" class="workplan td"
onClick=setBackground("r8w3") onDblClick=unsetBackground("r8w3")
onFocus=changeStyle("r8w3") onBlur=unchangeStyle("r8w3") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w4_ID" class="workplan td"
onClick=setBackground("r8w4") onDblClick=unsetBackground("r8w4")
onFocus=changeStyle("r8w4") onBlur=unchangeStyle("r8w4")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w5_ID" class="workplan td"
onClick=setBackground("r8w5") onDblClick=unsetBackground("r8w5")
onFocus=changeStyle("r8w5") onBlur=unchangeStyle("r8w5") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w6_ID" class="workplan td"
onClick=setBackground("r8w6") onDblClick=unsetBackground("r8w6")
onFocus=changeStyle("r8w6") onBlur=unchangeStyle("r8w6")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w7_ID" class="workplan td"
onClick=setBackground("r8w7") onDblClick=unsetBackground("r8w7")
onFocus=changeStyle("r8w7") onBlur=unchangeStyle("r8w7") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w8_ID" class="workplan td"
onClick=setBackground("r8w8") onDblClick=unsetBackground("r8w8")
onFocus=changeStyle("r8w8") onBlur=unchangeStyle("r8w8")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w9_ID" class="workplan td"
onClick=setBackground("r8w9") onDblClick=unsetBackground("r8w9")
onFocus=changeStyle("r8w9") onBlur=unchangeStyle("r8w9") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w10_ID" class="workplan td"
onClick=setBackground("r8w10") onDblClick=unsetBackground("r8w10")
onFocus=changeStyle("r8w10") onBlur=unchangeStyle("r8w10")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w11_ID" class="workplan td"
onClick=setBackground("r8w11") onDblClick=unsetBackground("r8w11")
onFocus=changeStyle("r8w11") onBlur=unchangeStyle("r8w11") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w12_ID" class="workplan td"
onClick=setBackground("r8w12") onDblClick=unsetBackground("r8w12")
onFocus=changeStyle("r8w12") onBlur=unchangeStyle("r8w12")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w13_ID" class="workplan td"
onClick=setBackground("r8w13") onDblClick=unsetBackground("r8w13")
onFocus=changeStyle("r8w13") onBlur=unchangeStyle("r8w13") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w14_ID" class="workplan td"
onClick=setBackground("r8w14") onDblClick=unsetBackground("r8w14")
onFocus=changeStyle("r8w14") onBlur=unchangeStyle("r8w14")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w15_ID" class="workplan td"
onClick=setBackground("r8w15") onDblClick=unsetBackground("r8w15")
onFocus=changeStyle("r8w15") onBlur=unchangeStyle("r8w15") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r8w16_ID" class="workplan td"
onClick=setBackground("r8w16") onDblClick=unsetBackground("r8w16")
onFocus=changeStyle("r8w16") onBlur=unchangeStyle("r8w16")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td></tr>

<tr valign="top"><td class="workplan td" width="53" bgcolor="#FFFFD0">

<input name="Person1_1_1_1_1_1_1_1_1" value="" style=" border-width :
0px; background-color: transparent;" size="20"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td class="workplan td" width="53"
bgcolor="#FFFFD0">
<input name="Task1_1_1_1_1_1_1_1_1" value="" style=" border-width :
0px; background-color: transparent;"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td id="r9w1_ID" class="workplan td"
onClick=setBackground("r9w1") onDblClick=unsetBackground("r9w1")
onFocus=changeStyle("r9w1") onBlur=unchangeStyle("r9w1") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w2_ID" class="workplan td"
onClick=setBackground("r9w2") onDblClick=unsetBackground("r9w2")
onFocus=changeStyle("r9w2") onBlur=unchangeStyle("r9w2")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w3_ID" class="workplan td"
onClick=setBackground("r9w3") onDblClick=unsetBackground("r9w3")
onFocus=changeStyle("r9w3") onBlur=unchangeStyle("r9w3") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w4_ID" class="workplan td"
onClick=setBackground("r9w4") onDblClick=unsetBackground("r9w4")
onFocus=changeStyle("r9w4") onBlur=unchangeStyle("r9w4")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w5_ID" class="workplan td"
onClick=setBackground("r9w5") onDblClick=unsetBackground("r9w5")
onFocus=changeStyle("r9w5") onBlur=unchangeStyle("r9w5") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w6_ID" class="workplan td"
onClick=setBackground("r9w6") onDblClick=unsetBackground("r9w6")
onFocus=changeStyle("r9w6") onBlur=unchangeStyle("r9w6")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w7_ID" class="workplan td"
onClick=setBackground("r9w7") onDblClick=unsetBackground("r9w7")
onFocus=changeStyle("r9w7") onBlur=unchangeStyle("r9w7") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w8_ID" class="workplan td"
onClick=setBackground("r9w8") onDblClick=unsetBackground("r9w8")
onFocus=changeStyle("r9w8") onBlur=unchangeStyle("r9w8")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w9_ID" class="workplan td"
onClick=setBackground("r9w9") onDblClick=unsetBackground("r9w9")
onFocus=changeStyle("r9w9") onBlur=unchangeStyle("r9w9") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w10_ID" class="workplan td"
onClick=setBackground("r9w10") onDblClick=unsetBackground("r9w10")
onFocus=changeStyle("r9w10") onBlur=unchangeStyle("r9w10")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w11_ID" class="workplan td"
onClick=setBackground("r9w11") onDblClick=unsetBackground("r9w11")
onFocus=changeStyle("r9w11") onBlur=unchangeStyle("r9w11") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w12_ID" class="workplan td"
onClick=setBackground("r9w12") onDblClick=unsetBackground("r9w12")
onFocus=changeStyle("r9w12") onBlur=unchangeStyle("r9w12")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w13_ID" class="workplan td"
onClick=setBackground("r9w13") onDblClick=unsetBackground("r9w13")
onFocus=changeStyle("r9w13") onBlur=unchangeStyle("r9w13") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w14_ID" class="workplan td"
onClick=setBackground("r9w14") onDblClick=unsetBackground("r9w14")
onFocus=changeStyle("r9w14") onBlur=unchangeStyle("r9w14")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w15_ID" class="workplan td"
onClick=setBackground("r9w15") onDblClick=unsetBackground("r9w15")
onFocus=changeStyle("r9w15") onBlur=unchangeStyle("r9w15") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r9w16_ID" class="workplan td"
onClick=setBackground("r9w16") onDblClick=unsetBackground("r9w16")
onFocus=changeStyle("r9w16") onBlur=unchangeStyle("r9w16")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td></tr>

<tr valign="top"><td class="workplan td" width="53" bgcolor="#FFFFD0">
<input name="Person1_1_1_1_1_1_1_1_1_1" value="" style=" border-width :
0px; background-color: transparent;" size="20"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td class="workplan td" width="53"
bgcolor="#FFFFD0">
<input name="Task1_1_1_1_1_1_1_1_1_1" value="" style=" border-width :
0px; background-color: transparent;"><img
src="/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource"
width="1" height="1" alt=""></td><td id="r10w1_ID" class="workplan td"
onClick=setBackground("r10w1") onDblClick=unsetBackground("r10w1")
onFocus=changeStyle("r10w1") onBlur=unchangeStyle("r10w1")
style="background-image:url(/dev/iels/ielsmain.nsf/transparent.gif?OpenImageResource);
background-repeat: repeat; " width="53" bgcolor="#F6FBF3"><img
src="/icons/ecblank.gif" border="0" height="1" width="1"
alt=""></td><td id="r10w2_ID" class="workplan td"
onClick=setBackground("r10w2") onDblClick=unsetBackground("r10w2")
onFocus=changeStyle("r10w2") onBlur=unchangeStyle("r10w2")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r10w3_ID" class="workplan td"
onClick=setBackground("r10w3") onDblClick=unsetBackground("r10w3")
onFocus=changeStyle("r10w3") onBlur=unchangeStyle("r10w3") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r10w4_ID" class="workplan td"
onClick=setBackground("r10w4") onDblClick=unsetBackground("r10w4")
onFocus=changeStyle("r10w4") onBlur=unchangeStyle("r10w4")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r10w5_ID" class="workplan td"
onClick=setBackground("r10w5") onDblClick=unsetBackground("r10w5")
onFocus=changeStyle("r10w5") onBlur=unchangeStyle("r10w5") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r10w6_ID" class="workplan td"
onClick=setBackground("r10w6") onDblClick=unsetBackground("r10w6")
onFocus=changeStyle("r10w6") onBlur=unchangeStyle("r10w6")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r10w7_ID" class="workplan td"
onClick=setBackground("r10w7") onDblClick=unsetBackground("r10w7")
onFocus=changeStyle("r10w7") onBlur=unchangeStyle("r10w7") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r10w8_ID" class="workplan td"
onClick=setBackground("r10w8") onDblClick=unsetBackground("r10w8")
onFocus=changeStyle("r10w8") onBlur=unchangeStyle("r10w8")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r10w9_ID" class="workplan td"
onClick=setBackground("r10w9") onDblClick=unsetBackground("r10w9")
onFocus=changeStyle("r10w9") onBlur=unchangeStyle("r10w9") width="53"
bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r10w10_ID" class="workplan td"
onClick=setBackground("r10w10") onDblClick=unsetBackground("r10w10")
onFocus=changeStyle("r10w10") onBlur=unchangeStyle("r10w10")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r10w11_ID" class="workplan td"
onClick=setBackground("r10w11") onDblClick=unsetBackground("r10w11")
onFocus=changeStyle("r10w11") onBlur=unchangeStyle("r10w11")
width="53" bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0"
height="1" width="1" alt=""></td><td id="r10w12_ID" class="workplan td"
onClick=setBackground("r10w12") onDblClick=unsetBackground("r10w12")
onFocus=changeStyle("r10w12") onBlur=unchangeStyle("r10w12")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r10w13_ID" class="workplan td"
onClick=setBackground("r10w13") onDblClick=unsetBackground("r10w13")
onFocus=changeStyle("r10w13") onBlur=unchangeStyle("r10w13")
width="53" bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0"
height="1" width="1" alt=""></td><td id="r10w14_ID" class="workplan td"
onClick=setBackground("r10w14") onDblClick=unsetBackground("r10w14")
onFocus=changeStyle("r10w14") onBlur=unchangeStyle("r10w14")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td><td id="r10w15_ID" class="workplan td"
onClick=setBackground("r10w15") onDblClick=unsetBackground("r10w15")
onFocus=changeStyle("r10w15") onBlur=unchangeStyle("r10w15")
width="53" bgcolor="#F6FBF3"><img src="/icons/ecblank.gif" border="0"
height="1" width="1" alt=""></td><td id="r10w16_ID" class="workplan td"
onClick=setBackground("r10w16") onDblClick=unsetBackground("r10w16")
onFocus=changeStyle("r10w16") onBlur=unchangeStyle("r10w16")
width="53"><img src="/icons/ecblank.gif" border="0" height="1"
width="1" alt=""></td></tr>
</table>
<br>
<table class="layout" cellspacing="2" width="100%" border="1">
<tr valign="top"><td width="100%"><div align="center"><img
src="/dev/iels/ielsconfig.nsf/lookups/imagesform/$file/but_savedraft.gif"
border="0" onClick="saveDraft()"></a><img
src="/dev/iels/ielsconfig.nsf/lookups/imagesform/$file/but_submit.gif"
border="0" onClick="submitDoc()"></a></div></td></tr>
</table>

Sorry if that is long but its just repititive. I dont seem to be able
to set the value to the field with the amended code.

Thanks for your time.
 
O

Otto Lang

Laurent Bugnion said:
Hi,
Hi,

To make your reply even better, you could have suggested using
document.getElementById instead ;-)

that's right. I've forgotten the second part. I shouldn't work when
posting. Thx a lot :)
HTH,
Laurent

../otto
 
L

Laurent Bugnion

Hi,


You almost got it right. Just add a "T" at the end ;-)
This is the js file I have in my system

function setBackground(cellName){
if (document.forms[0].IsEditDoc.value=="Yes"){
cellID=cellName+"_ID";
cellName=cellName+"ID"

What are you doing here? Basically, you don't need a name, ID is
sufficient. Name is only needed on form inputs, if you want to submit
them to the server. Otherwise, use ID.
document.getElementById(cellID).style.backgroundColor='#84DFC1'
document.getElementById(cellName).value="X"}

Same remark. It would be better to do:

var nCell = document.getElementById( cellID );

if ( nCell ) // This makes sure that the cell was found
{
nCell.style.backgroundColor = "...";
nCell.value = "X";
}
else
{alert("Please click on the Edit button")}
}

I just noticed that you posted your whole file. Sorry, I really cannot
check everything. Strip it to the bare necessary. I see it's generated
code. Try to format it in a way that allows you to find the error in an
easier way.

Generally, write the client-side code first. Get it to work, and then
get your server to generate the same code. That's the best way to get it
to work.

I am not sure I ever saw anyone post as much code to this newsgroup
before (and I am on it since... last century *L*). I asked you to post
trimmed code only. If you don't make an effort, noone here will either!

HTH,
Laurent
 
E

effendi

Laurent said:
Hi,


You almost got it right. Just add a "T" at the end ;-)
This is the js file I have in my system

function setBackground(cellName){
if (document.forms[0].IsEditDoc.value=="Yes"){
cellID=cellName+"_ID";
cellName=cellName+"ID"

What are you doing here? Basically, you don't need a name, ID is
sufficient. Name is only needed on form inputs, if you want to submit
them to the server. Otherwise, use ID.
document.getElementById(cellID).style.backgroundColor='#84DFC1'
document.getElementById(cellName).value="X"}

Same remark. It would be better to do:

var nCell = document.getElementById( cellID );

if ( nCell ) // This makes sure that the cell was found
{
nCell.style.backgroundColor = "...";
nCell.value = "X";
}
else
{alert("Please click on the Edit button")}
}

I just noticed that you posted your whole file. Sorry, I really cannot
check everything. Strip it to the bare necessary. I see it's generated
code. Try to format it in a way that allows you to find the error in an
easier way.

Generally, write the client-side code first. Get it to work, and then
get your server to generate the same code. That's the best way to get it
to work.

I am not sure I ever saw anyone post as much code to this newsgroup
before (and I am on it since... last century *L*). I asked you to post
trimmed code only. If you don't make an effort, noone here will either!

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch


Laurent

Thanks for the input. That was the trimmed code. I guess it was too
long. Just to clariy a little, the cellName is the ID of the field, the
cellID refers to the table cells and not th field and hence the reason
I have 2 "IDs".

In any case, the problem I am having now is that I can't set the value
X to the field. Only when I unhide it, will it work. The original code
worked but only in IE so we are now revamping to get it to work on all
broswers.

So the question is why can't i set the value when the field is in
hidden mode. I never had this issue before.

Regards
 
R

RobG

Laurent Bugnion wrote: [...]
I just noticed that you posted your whole file. Sorry, I really cannot
check everything. Strip it to the bare necessary. I see it's generated
code. Try to format it in a way that allows you to find the error in an
easier way.
[...]
Thanks for the input. That was the trimmed code. I guess it was too
long. Just to clariy a little, the cellName is the ID of the field, the
cellID refers to the table cells and not th field and hence the reason
I have 2 "IDs".

In any case, the problem I am having now is that I can't set the value
X to the field. Only when I unhide it, will it work. The original code
worked but only in IE so we are now revamping to get it to work on all
broswers.

The code you posted is completely dysfunctional - it is dependent upon
document.forms yet there are no forms in the HTML document that you
posted.

So the question is why can't i set the value when the field is in
hidden mode. I never had this issue before.

Who knows? Reduce your example to at most 50 lines of code (including
HTML) that displays the error, then maybe someone can offer more than
guesses.

e.g.

<p>Click "Show hidden value", then "Change hidden value",
then "Show hidden value" again to see that it changed.</p>

<input type="hidden" id="hiddenInput" value="initial value">
<button onclick="showValue('hiddenInput');">Show
hidden value</button>
<button onclick="changeHiddenValue('hiddenInput');">Change
hidden value</button>

<script type="text/javascript">

function changeHiddenValue(id) {
document.getElementById(id).value = "new value";
}
function showValue(id) {
alert(document.getElementById(id).value);
}

</script>


The above works in IE and Firefox, does it work in Safari? If so, then
you have a problem somewhere in your code - it should be reported by
the script console. Turn on debugging using the instructions here
(this link is included in the group FAQ):

<URL: http://developer.apple.com/internet/safari/faq.html#anchor14 >

If it doesn't work in Safari, then there's probably a bug in the
browser. Use the above link to see how to report bugs.
 
E

effendi

RobG said:
Laurent Bugnion wrote: [...]
I just noticed that you posted your whole file. Sorry, I really cannot
check everything. Strip it to the bare necessary. I see it's generated
code. Try to format it in a way that allows you to find the error in an
easier way.
[...]
Thanks for the input. That was the trimmed code. I guess it was too
long. Just to clariy a little, the cellName is the ID of the field, the
cellID refers to the table cells and not th field and hence the reason
I have 2 "IDs".

In any case, the problem I am having now is that I can't set the value
X to the field. Only when I unhide it, will it work. The original code
worked but only in IE so we are now revamping to get it to work on all
broswers.

The code you posted is completely dysfunctional - it is dependent upon
document.forms yet there are no forms in the HTML document that you
posted.

So the question is why can't i set the value when the field is in
hidden mode. I never had this issue before.

Who knows? Reduce your example to at most 50 lines of code (including
HTML) that displays the error, then maybe someone can offer more than
guesses.

e.g.

<p>Click "Show hidden value", then "Change hidden value",
then "Show hidden value" again to see that it changed.</p>

<input type="hidden" id="hiddenInput" value="initial value">
<button onclick="showValue('hiddenInput');">Show
hidden value</button>
<button onclick="changeHiddenValue('hiddenInput');">Change
hidden value</button>

<script type="text/javascript">

function changeHiddenValue(id) {
document.getElementById(id).value = "new value";
}
function showValue(id) {
alert(document.getElementById(id).value);
}

</script>


The above works in IE and Firefox, does it work in Safari? If so, then
you have a problem somewhere in your code - it should be reported by
the script console. Turn on debugging using the instructions here
(this link is included in the group FAQ):

<URL: http://developer.apple.com/internet/safari/faq.html#anchor14 >

If it doesn't work in Safari, then there's probably a bug in the
browser. Use the above link to see how to report bugs.


Rob

Thanks. Anyway I posted only a portion of the form as requested. The
code worked fine ( perhaps requires more finetunning) for the last 2
yrs and has 60000 forms submitted. Al the issue now is we need to get
the application compatible will all broswers across all OS. As it was
specificaaly made and tested for IE.
 
R

RobG

RobG said:
(e-mail address removed) wrote: [...]
So the question is why can't i set the value when the field is in
hidden mode. I never had this issue before.
[...]
e.g.

<p>Click "Show hidden value", then "Change hidden value",
then "Show hidden value" again to see that it changed.</p>

<input type="hidden" id="hiddenInput" value="initial value">
<button onclick="showValue('hiddenInput');">Show
hidden value</button>
<button onclick="changeHiddenValue('hiddenInput');">Change
hidden value</button>

<script type="text/javascript">

function changeHiddenValue(id) {
document.getElementById(id).value = "new value";
}
function showValue(id) {
alert(document.getElementById(id).value);
}

</script>


The above works in IE and Firefox, does it work in Safari? If so, then
you have a problem somewhere in your code - it should be reported by
the script console. Turn on debugging using the instructions here
(this link is included in the group FAQ):

<URL: http://developer.apple.com/internet/safari/faq.html#anchor14 >

If it doesn't work in Safari, then there's probably a bug in the
browser. Use the above link to see how to report bugs.

I checked, it works fine in Safari.

Thanks. Anyway I posted only a portion of the form as requested. The
code worked fine ( perhaps requires more finetunning) for the last 2
yrs and has 60000 forms submitted. Al the issue now is we need to get
the application compatible will all broswers across all OS. As it was
specificaaly made and tested for IE.

Your post said you can't set the value of a hidden input in Safari, my
test shows that the functionality works fine in Safari (and IE 5.2 and
Firefox 1.5 on Mac).

The original advice stands: create a minimal test that displays the
error. In the process of doing that, you will likley discover your
error. If not, post it here. The problem is not with Safari (or any
particular browser), it is most likely with your code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,188
Latest member
Crypto TaxSoftware

Latest Threads

Top