[Proto-Scripty] Re: table does not display in IE7 until DOM explorer is turned on...
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 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 wrote: > > > > > Changing the visibility of any item on the page will cause a redraw. > > > You could try Element.show('') after your insertion. > > > On Dec 22, 3:28 am, Jay wrote: > > > > I'm using the following code to add a table to DOM. > > > > var table = Builder.node('table', {id: "x"}, > > > 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 -~--~~~~--~~--~--~---
[Proto-Scripty] Re: table does not display in IE7 until DOM explorer is turned on...
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 wrote: > Changing the visibility of any item on the page will cause a redraw. > > You could try Element.show('') after your insertion. > > On Dec 22, 3:28 am, Jay wrote: > > > > > I'm using the following code to add a table to DOM. > > > var table = Builder.node('table', {id: "x"}, > > 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 - --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Proto-Scripty] Re: table does not display in IE7 until DOM explorer is turned on...
Changing the visibility of any item on the page will cause a redraw. You could try Element.show('') after your insertion. On Dec 22, 3:28 am, Jay wrote: > I'm using the following code to add a table to DOM. > > var table = Builder.node('table', {id: "x"}, > 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?? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---