That totally worked! Thanks so much for your help...I'm glad it was so simple to fix. :)
> Are you checking that the page is fully loaded? Either checking for the
> window.load event or using onDOMReady? The dt_cellediting.html does
> check for window.load. Your problem might not be the different ways of
> declaring them but simply randomness at work, sometimes the page does
> get a chance to get loaded, sometimes not. Anyway, I'm just guessing, I
> see nothing wrong with the two segments of code you show.