jquery mysql

jquery mysql

ON this dreamweaver page I am printing a dynamic table. (link to follow). I have assigned a class to the  TD with the id and with a jquery I can change CSS (color). I want to get the id value to use an update form on the same page.

Here is JS so far.. under .click alert (,here'); works but the $row alert is not . How can I get the value of the id? Or how can I assign var lineNum the new value $row_update['id']?

link
  1. $(document).ready(function() {
        var lineNum = 0;
      $("td.id").mouseenter(function() {
          $(this).addClass("im");
       
          alert ($row_update['id']);
           });
            $("td.id").click(function() {
       alert ('here');    alert (lineNum);
        alert ('it is' + $row_update['id']);
       
         });
    });