hmm. 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({ url: "process.php?", params: "comment_id=<?php echo $comment_id;?>", bg_over: "#F9FF96", field_type: "textarea", textarea_rows: "3", textarea_cols: "52", saving_text: "Saving..." }); }); // ]]> </script>
strzelecki wrote: > > Ah many thanks. I will give that a try. > Just a note: The Editable demos on your site are erroring if Firefox > 2.0.0.2 XP: > Error: console is not defined > Source File: > http://www.appelsiini.net/~tuupola/jquery/jeditable/lib/jquery.jeditable.js > Line: 159 > > > > Mika Tuupola wrote: >> >> >> On Mar 14, 2007, at 4:10 PM, Mika Tuupola wrote: >> >>> http://www.appelsiini.net/~tuupola/jquery/jeditable/strzelecki.php >>> >>> Check the source. Although this is done with jEditable plugin not >>> Dave's version. Hope it helps. >> >> Tsk tsk. Hey Dave, you have forgotten to remove my name from the CVS >> tag ;) >> >> /* $Id: jquery.inplace.js,v 0.9.9 2007/03/06 18:00:00 tuupola Exp $ */ >> >> http://davehauenstein.com/code/scripts/jquery.inplace.source.js >> >> versus >> >> http://www.appelsiini.net/~tuupola/download/jquery.jeditable-0.9.2.js >> >> >> -- >> Mika Tuupola http://www.appelsiini.net/~tuupola/ >> >> >> >> >> _______________________________________________ >> jQuery mailing list >> discuss@jquery.com >> http://jquery.com/discuss/ >> >> > > -- View this message in context: http://www.nabble.com/editInPlace-link-trigger-tf3395144.html#a9476631 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/