Hi,

on page http://nevilel.storea.sk/clanok/cras-ut-leo/#komentare is on click to "Edit" using jQuery AJAX load a form for edit this comment.
Upraviť = Edit

<div class="editing-comment"> 
                <h4 class="title"><a href="#" rel="nofollow">NickVK</a></h4> 
            <p class="byline"><small>Posted on May 29th, 2010 12:51</small></p> 
            <div class="entry"> 
                <form action="log.php" id="edit-comment-form" method="post"> 
               <textarea name="comment" style="border: 1px;border-style: double;border-color: #7DC40D;overflow: auto;width: 400px;height: 150px;color: #666666;">Donec sapien est, tincidunt vel tincidunt sed, tristique in ipsum.</textarea> 
            </div> 
                     <input type="hidden" name="action" value="edit" /> 
                     <input type="hidden" name="id" value="16"/> 
                    <span style="float: left"><input name="html" type="checkbox" id="html"/><label for="html">HTML</label></span><p class="admin-links"><input type="submit" size="20" style="border: 1px double rgb(125, 196, 13); overflow: no;color: rgb(102, 102, 102); background-color: rgb(255, 255, 255);height: 17px;font-size: 13px;" value="Edit" /></p> 
                </form> 
</div>

If I load form in new window, no with AJAX, all it's OK.
If I load page using AJAX, after click on submit button (Edit), nothing happens.

Thank's for your tips.

    Write a Reply...