Hi,
I am still working on the e-leave app. Referring to the screen here
http://www.sendspace.com/file/qmd42a, I need to split each day box into 2 - am & pm
My idea was, after user has chosen "am" radio button in the popup window (a modified Edit Pad popup), I will create 2 tables in each day box in the DayRender event (originally there was 1 table in each day), "am" table will be filled, while "pm" table will be empty, user can later click to add "pm" leave request:
<table id=""" & dayId & "am"" onClick=""EditUserInput('" & dayId & "am');"">"
...
<table id=""" & dayId & "pm"" onClick=""EditUserInput('" & dayId & "pm');"">"
...
However, I found that there is always 1 table only. I have checked the "View Source" in IE, it shows the original <table id="2007_08_25" onClick=... ) where both the <table id="2007_08_25am"... and <table id="2007_08_25pm".. tables are not created.
I went to trace the code in debug mode, I am sure the statements to create these tables are already executed, and eventually the e.Writer.Write(html) writes the HTML output containing both am & pm tables.
What's wrong??
Danny