title: How To Keep a JavaScript Working with ResonseText Data
body: <p>I've been building an application with PHP/MySQL and JavaScript with Prototype/Scriptaculous.</p>
  <p>A page has a search contacts field, with a default set of data in an HTML table. A user types in some characters, and the table get updated.</p>
  <p>What's actually happening is the table is getting replaced with a new table and new data.</p>
  <p>I've got a JavaScript that works against that table, which is loaded in the standard fashion via script tags at the bottom of the page.</p>
  <p>Problem is, it only works on the default data (the part that's loaded with the page), when the search updates the table data, the script stops working. The search still will work since that was originally loaded with the page but it seems my script is unaware of page updates or new data.</p>
  <p>How can I get this to work? Do I have to include the script with every Ajax call?</p>
  <p>Thanks
  Rich</p>