[jQuery] Re: div display help

2009-07-15 Thread Mean Mike
or take out your onclick from your html and in your head put this $(document).ready(function(){ $("#t").change(function(){ var v = $(this).val(); $("#test" + v).css("display","block");

[jQuery] Re: div display help

2009-07-15 Thread Liam Byrne
You've no jQuery in there for a start. Instead of var c = document.getElementByID(f); c.style.display = "block"; try $("#"+f).show(); L chuck wrote: I am having some trouble getting some divs to display dynamically. Can someone please offer a pointer?