Question : Problem Repopulating DIVs using ASP, VB Script & Internet Explorer 6

Ever since the installation of windows Update KB963027..

One of our legacy systems has started giving issues,
A basic date control, with is a single asp page containing 1 Div "
"

Our DateControl is basically an asp page shown with window.showModalDialog

When the control is loaded we populate a DIV with 2 combos (Month,Year) and a Table representing the DatePicker

When either the year of the month has changed we need to repopulate the DIV to represent the new month

The error occurs when we attempt to overwrite the contents of the DIV.
In VBScript:

document.getElementById("calendar".innerhtml = sCalendar

Any advice is greatly appreciated.... :)

Thanks,


Note: Removing the IE6 Security Update resolves the Problem but this is not an option for our customers unfortunately..

Answer : Problem Repopulating DIVs using ASP, VB Script & Internet Explorer 6

Apologies Typo only appears here when i was writing the code.

The problem seemed to occur when a control contained within a div executed some vbscript to update the div in which the control was contained..

I had to implement alternating divs to get around the problem, not the ideal solution but a least it fixes the problem for now.

Thanks for your time.


Random Solutions  
 
programming4us programming4us