Loading...
 
Skip to main content

Features / Usability


[fixed/ignore] toggle cbox data jquery not working

  • update: this was just mistyped brackets. )} should have been }). please ignore */

---------
I am tryign to make the cbox-data hide/show when the title is clicked on a certain wiki page. I have tried the following versions. neither of them is doing anythign...the alerts aretn functioning for example.

( I add these to my page ocde, adn then approve the JQ plugin.)

Copy to clipboard
{JQ()} $jq("#mytable .cbox-title").click( function() { alert("clicked"); $jq(this).parent().find('.cbox-data').toggle(); {JQ}

Copy to clipboard
{JQ()} {JQ()} $jq(document).ready(function() { alert("ready"); $jq(".cbox-title").click( function() { alert("clicked"); $jq(this).parent().find('.cbox-data').toggle(); )}: {JQ} {JQ}


note that the in the alerts are put there by the forums wiki, and are not there in my code...

hmm....the s were there i nthe preview...must have been stripped in the final..so read as is...

I see, the < x > don't display at all. well shuck my grits.
igonre extra {JQ} too, while we're at it. gd'ang.