[jQuery] Re: Toggle and Nested Divs

2008-11-05 Thread n8cshaw
Well, no one followed up and I kept experimenting and found that if I put the event call in the onclick attribute of the link, it works as expected. If I try to bind the onclick event on document ready, it does not work. Works: onclick="showHideExactDates();" Does not Work: jq("#dateExactShowHid

[jQuery] Re: Toggle and Nested Divs

2008-11-05 Thread n8cshaw
Thanks Ricardo. I have put the code up at http://jsbin.com/atiza As for the double quotes on the Velocity call, those are evaluated on the server prior to being sent to the client, so no worries there. I appreciate the help with this! It seems like this should be a very easy thing to do (I did t

[jQuery] Re: Toggle and Nested Divs

2008-11-05 Thread ricardobeat
Try providing a test page or pasting your code at www.pastie.org or www.jsbin.com, that way people can actually read it! :) Can't figure out from this code what might be wrong, it's probably an event bubbling issue. And you have src="$content.getURI("images/icon_plus.gif")" that will cause serio