Re: [jQuery] Re: Hide chat content

2009-11-30 Thread Jerry Johnson
Ya, here is my problem. I know how to make the ajax call, and it all works, but, I need to somehow connect the msg id from the mysql database to the ajax call, so I need another div, that has the id.

Re: [jQuery] Re: Hide chat content

2009-11-29 Thread Jerry Johnson
ok, that worked, but now I need to make an ajax call... On Sat, Nov 28, 2009 at 11:54 PM, Charlie wrote: > Now instead of multiple Id's all the same you have numeric ID's. > ID's can't start with numbers. Adding onclick to your markup is moving > backwards with jQuery. > Currently your hide fun

Re: [jQuery] Re: Hide chat content

2009-11-28 Thread Charlie
Now instead of multiple Id's all the same you have numeric ID's.  ID's can't start with numbers. Adding onclick to your markup is moving backwards with jQuery. Currently your hide function is not available in the DOM for onclick's as it is closed within jQuery and therefore is not a global func

Re: [jQuery] Re: Hide chat content

2009-11-28 Thread Jerry Johnson
I have done so, but it still doesn't work

Re: [jQuery] Re: Hide chat content

2009-11-27 Thread Charlie
ID's must be unique, you use ID='hide" over and over, can't do it try changing to class="hide" and corresponding jQuery adjust Jerry Johnson wrote: On Fri, Nov 27, 2009 at 1:47 PM, Scott Sauyet wrote: On Nov 27, 12:03 pm, Jerry Johnson

Re: [jQuery] Re: Hide chat content

2009-11-27 Thread Jerry Johnson
On Fri, Nov 27, 2009 at 1:47 PM, Scott Sauyet wrote: > On Nov 27, 12:03 pm, Jerry Johnson wrote: > > $('a.#hide').click(function() > > { > > $(this).hide(); > > } > > ); > > What does "a.#hide" mean? Shouldn't that just be "a#hide", or better > yet, "#hide"? > > >