I have written a piece of jquery which works fine on a standalone website. Basically it watches for key presses on one of my form fields (by id) and when at least 4 characters are in place it checks the value of the field against a remote database until value prompts a true response.
On a standard HTML form on a standalone page it's fine (I replicated fields by name to exactly match my easy profile form)
I am now loading this into my site and it does nothing.. the reason for this is (I assume) it cannot see the field in easy profile.. it's just convinced it's not there and stops watching
have put the script before closing body tag, fires when document,ready (also tried window.load)
How can I include this script within easy profile to start watching the field when it has been generated?
Skeleton.php is more for functions, but I would need to then call this again on the form same problem, doesn't exist