[jQuery] .show() does not work, but getElementById(id).style.display="block" does work

2009-10-06 Thread vjimw
Here is my .ready function using tabs and a class of .remote to start using the history plugin // Show and hide product grids $(document).ready(function() { $(".remote").click(function(event) { document.location.hash=this.title; show_subcat_menu(); toogle_subcat_ul('ul

[jQuery] Re: .show() does not work, but getElementById(id).style.display="block" does work

2009-10-06 Thread vjimw
Answered my own question. I needed to prepend # to the id for the jQuery functions to work. $('#' + id).show(); On Oct 6, 6:17 pm, vjimw wrote: > Here is my .ready function using tabs and a class of .remote to start > using the history plugin > > // Show and hide prod

[jQuery] Re: .show() does not work, but getElementById(id).style.display="block" does work

2009-10-06 Thread vjimw
Thanks! I just sorted that out. Answered my own question. I needed to prepend # to the id for the jQuery functions to work. $('#' + id).show(); On Oct 6, 7:29 pm, James wrote: > Try: > > $('#'+id).show(); > > On Oct 6, 1:17 pm, vjimw wrote: > > >