First, the two “includes” you gave are going to the same file, so I’m not sure what two files you’re trying to judge against. Secondly, the jquery code is ran AFTER the page is processed, so the php includes will not be available to your jquery object.