I need help with this one. I have a function that pastes a row. In
each row i am pasting a link which is to call a date picker javascript
function. This is the code that pastes the link :
link = document.create Element('a');
link.href ="javascript:sh ow_calendar('do cument.form1.da te',document.fo rm1.date.value) ;";
img = document.create Element('img');
img.setAttribut e("src","H:Dive rse\\cal.gif");
link.appendChil d(img);
var td3 = document.create Element("TD")
td3.appendChild (input3)
td3.appendChild (link)
when i run this and press the link i get a error message that says :
document.form1. date.value is null or not an object. The function
show_calendar() has been tested in other contexts and works fine.
Can anybody solve this one ?
each row i am pasting a link which is to call a date picker javascript
function. This is the code that pastes the link :
link = document.create Element('a');
link.href ="javascript:sh ow_calendar('do cument.form1.da te',document.fo rm1.date.value) ;";
img = document.create Element('img');
img.setAttribut e("src","H:Dive rse\\cal.gif");
link.appendChil d(img);
var td3 = document.create Element("TD")
td3.appendChild (input3)
td3.appendChild (link)
when i run this and press the link i get a error message that says :
document.form1. date.value is null or not an object. The function
show_calendar() has been tested in other contexts and works fine.
Can anybody solve this one ?
Comment