|
I am trying to create the below using innerhtml.
However when I try to display this I get an 'Unterminated string constant' error. Does anyone know what the problem is?
Are there any rules anywhere for dealing with including calls to subroutines & scripts within innerhtml?
Many thanks
Jeni
fieldname.innerhtml = "<input name='recdate' type='text' readonly class='goBORDER' size='10' value='<%=(Date)%>'>" & _
"<a href=javascript:show_calendar('form1.recdate'); onMouseOver=window.status='Date Picker';return true; onMouseOut=window.status='';return true;><img src='../../include/show-calendar.gif' width=24 height=22 border=0 align='absmiddle'></a>"
|
|
|
|
|
|
|
© Copyright codetoad.com 2001-2005 |
|
|