well, it is an rather weird, thing this error...So i start the code add a
breackpoint on the following line :
----------------
activateForm();
----------------
getPostContent = function(){
             $("div#tripwire").empty();
   $.post("list.php
",{"id":2,"sessionID":sessionID,"getValue":1},function(html){
           $("div#tripwire").append(html);
       });
     activateForm();
       enableSave();
}

everything works fine, but once i remove it, nothing works anymore...anyone
got an idea...i'll put the activate form code here...
activateForm = function(){
 //attach listeners to form
      $("input#text").keyup(function(){
        $("#live").empty().append($(this).val());
      });
}
and enable save
enableSave = function(){
     $("a#save").click(function(){
      alert($("input#text").val());
     $.post("list.php",{"value":$("input#text").val()
,"sessionID":sessionID},function(html){
           $("#text").empty();
         });
         return false;
       });

}
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to