instead of "$.log() " just put alert(); you will see the error. My html is something like this:
... <table class=".tbl"></table> ... and I'm using it as: var $table = $('.tbl'); $table.table(); On Feb 7, 2:04 am, jQuery Lover <ilovejqu...@gmail.com> wrote: > I don't have $.log() function so i just commented those lines out... > > but let me log them with console.log()... > > NOPE, I did not. I just got a "table" alert box and that's it... Just > one alert box! > > ---- > Read jQuery HowTo Resource - http://jquery-howto.blogspot.com > > On Sat, Feb 7, 2009 at 2:59 PM, ShurikAg <shuri...@gmail.com> wrote: > > > I'm getting this error when the lines bellow are called: > > > jQ(this).addClass(Options.cssClass); > > ... > > tHead.append(tr).prependTo(this); > > > On Feb 7, 1:56 am, ShurikAg <shuri...@gmail.com> wrote: > >> me too.... > > >> and do you get "The element must be valid table element!"? > > >> On Feb 7, 1:53 am, jQuery Lover <ilovejqu...@gmail.com> wrote: > > >> > FF3 > > >> > ---- > >> > Read jQuery HowTo Resource - http://jquery-howto.blogspot.com > > >> > On Sat, Feb 7, 2009 at 2:53 PM, ShurikAg <shuri...@gmail.com> wrote: > > >> > > hm.... > >> > > which browser you are working with? > > >> > > On Feb 7, 1:49 am, jQuery Lover <ilovejqu...@gmail.com> wrote: > >> > >> But these lines should not cause 2 alerts... > > >> > >> I just run you code and i'm getting just one alert box ?! > > >> > >> ---- > >> > >> Read jQuery HowTo Resource - http://jquery-howto.blogspot.com > > >> > >> On Sat, Feb 7, 2009 at 2:45 PM, ShurikAg <shuri...@gmail.com> wrote: > > >> > >> > I figured out that the problem starts here: > >> > >> > jQ(this).addClass(Options.cssClass); > > >> > >> > and here: > >> > >> > tHead.append(tr).prependTo(this);