I was having the same problem... It depends how you call the PHP...
Best bet is using jquery's AJAX callback function and initiate the PHP
onSuccess...

i did the same thing here: (use firebug to explore the code):
(everything in the <tbody> is print()'d by PHP...

http://www.themeans.info/cms/galleryManager.php

On Dec 9, 2:24 pm, "David Blomstrom" <[EMAIL PROTECTED]>
wrote:
> With the help of this group, I got my first JQuery function to work - a
> combination sortable table columns/alternate row colors script. The only
> problem is that it works on my static page but not on a dynamic page in my
> content management system (PHP).
>
> The weird thing is that I copied the source code from a dynamic page into my
> static page, and it does work - but only on the static page.
>
> On my dynamic page, the sortable column function doesn't work at all. The
> zebra stripes function works only to the extent that any row I mouseover
> acquires a colored background.
>
> Does anyone have a hunch what's going on?
>
> Thanks.
>
> * * * * *
>
> <script src="/1A/js/jquery-1.2.6.min.js" type="text/javascript"></script>
> <script src="/1A/js/tablesorter/jquery.tablesorter.js"
> type="text/javascript"></script>
> <script language="JavaScript" type="text/JavaScript">
>  $(document).ready(function()
>   {
>   $("#myTable").tablesorter({ widgets: ['zebra']} );
>   }
>  );
> </script>

Reply via email to