I actually solved the mystery.
It had to do with WHERE I was placing the created table element.
I didn't really pay attention to this part and was trying to add this
dynamic table under another table element.

$('parent').insert({after: table});

solved the problem for me.

On Dec 22, 4:35 pm, Jay <jebum....@gmail.com> wrote:
> Thanks for the suggestion.
> I tried this but it doesn't quite seem to work.
>
> I tried...
>
> $('parent').insert(table.show());
>
> and..
>
> $('parent').insert(table);
> table.show();
>
> On Dec 22, 12:15 pm, Diodeus <diod...@gmail.com> wrote:
>
>
>
> > Changing the visibility of any item on the page will cause a redraw.
>
> > You could try Element.show('xxxx') after your insertion.
>
> > On Dec 22, 3:28 am, Jay <jebum....@gmail.com> wrote:
>
> > > I'm using the following code to add a table to DOM.
>
> > > var table = Builder.node('table', {id: "xxxxx"},
> > >         Builder.node('tbody', eachdayArr)
> > > );
>
> > > $('parent').insert(table);
>
> > > But this doesn't show right away in IE (works fine in FF).
> > > When I turn on my DOM explorer, however, it suddenly shows!!
> > > (By the way, this isn't a missing "tbody' problem).
>
> > > Which makes me think that somehow the browser isn't really refreshing
> > > or rendering new elements...
> > > (because the fact that it shows up means everything was inserted
> > > correctly)
>
> > > Is there any reason why this might be happening? And is there a way to
> > > force the browser to refresh??- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to