On Mar 14, 2007, at 5:21 PM, strzelecki wrote:

> Doesn't seem to want to work the same with Daves version. I have:
> <div class="edit_comment"><?php echo $comment_content;?></div><span
> class="trigger">Edit</span></td>
> <script type="text/javascript">
>    // <![CDATA[
>       $(document).ready(function(){
>               $(".trigger").click(function() {
>                $(this).parent().children(".edit_comment").click();
>       });
>       $(".edit_comment<?php echo $comment_id;?>").editInPlace({

You seem to have unique class for each editable element. Is that  
needed. Try to change line above to:

-cut-
$(".edit_comment").editInPlace({
-cut-

--
Mika Tuupola                      http://www.appelsiini.net/~tuupola/




_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to