Web Page Error

Tags:
ASP
CSS
DHTML
HTML
Here is Orignal Code var object=document.getElementById('calendar');     object.innerHTML= calendarString;     thisDate = 1; Please tel me which one should change
ASKED: August 25, 2009  8:06 AM
UPDATED: August 27, 2009  4:23 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

You probably do not have a control with id ‘calendar’.

What is the complete error message ?
Could you please post the code where you declare the object with id = ‘calendar’ ?

yes,,the following code is for a calendar

<table id=”evtcal” border=”0″ cellpadding=”0″ cellspacing=”0″ width=”500″>
<tbody>
<tr>
<td style=”padding: 3px;” align=”center” bgcolor=”#c6def8″ valign=”top” width=”314″>
<b><div id=”calendar”></b><!– Dynamically Filled –></div>
You can move to a different month or year by clicking on the buttons or return to today’s date by clicking “Show Current Date”.</td>
<td width=”10″> </td>
<td style=”padding: 3px;” align=”center” bgcolor=”#c6def8″ valign=”top” width=”260″ ><div align=”center”><b>Intructions:</b><br />
Click a highlighted date on the calendar to see a list of events on that day in the box below.<br />
<br />
</div>
<b><u>Events</u></b> <b><form id=”eventform” name=”eventform” action=”#” method=”get”>
<textarea name=”eventlist” cols=”50″ rows=”11″ wrap=”soft” class=”style3″>Please click on any date and see the events regarding to city school.</textarea>
</form></td>
</tr>
</tbody>
</table>
</center>

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following