Give help. Get help.

  • # November 19, 2008 at 7:49 am

    Hey – long time reader – first time poster :)

    I have a simple little mySql result page that displays the results using "for" statement into each own display div. Within the div is an "approve" , "edit" , and "delete" button – the approve and delete work fine BUT I want the edit button to slideToggle the edit page corresponding to that div and mySQl result. I have it partially working – click on edit – and ALL the edit div’s slide open…. almost there?

    Anywho here is the Jquery code:


    Here is the display div:


    < ?php echo $name; ?> from < ?php echo $location; ?>

    “< ?php echo $comment; ?>“
    < ?php echo $date; ?>

    Hopefully you get the idea I’m trying – excuse some of the inline styling – the section is in the development / testing / design stages.

    Thanks in Advance!!!

    # December 17, 2008 at 8:42 am

    Someone wonderful on the official jQuery forums figured it out:

    $(document).ready(function() {

    $(".guestbook_result .btn-edit").click(function(){


    Me = Happy!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.