Very Carefully...??
JQuery works with the HTML on the page. It does not care if it is PHP,
Java, .NET, ASP, Ruby, Perl, Python, Cold Fusion, plain old html, etc.
What issues are you having? When dealing with problems look at your generated source code in the browser, do not stare at serverside code.
Eric