0

Greeting to all !!!!!

am new to jquery and using it well... it sounds good...

the problem is when i using ajax post method and append to the original page, the javascript i loaded in the original page is not working the response(appended page some abc.php)...

how to use those ? please help me

success:

   function(html)
   {
    $(html).hide().appendTo('#postcomnt').slideDown('slow');
    $('.post_txt_area').val("");
    //alert(html);
   }
Bobby
  • 10,998
  • 5
  • 42
  • 67
Gunasegar
  • 161
  • 1
  • 9

1 Answers1

0

It's not quite clear, what are you trying to do.

Are you trying to dynamically load another javascript code and make it work? Then, look here: JQuery to load Javascript file dynamically

Are you trying to bind events to elements that are loaded dynamically? Then take a look at jQuery live() method: http://api.jquery.com/live/

Community
  • 1
  • 1
Silver Light
  • 37,827
  • 29
  • 116
  • 159