[Phpmyadmin-devel] Include a js file

Marc Delisle marc at infomarc.info
Sat Apr 17 14:31:34 CEST 2010

Kishanthan Thangarajah a écrit :
> Yes, but the js function is not called.
> This is what i did,
> I have a js file with the name testing.js with a test function
> I included it by using $GLOBALS['js_include'][]= 'testing.js'; at the
> top of tbl_properties.inc.php
> i called the test function by a text field onFocus mechanism,
> but the function doesn't get called?
> What's my mistake here?
> Thanks,

Please use jQuery's .focus() method instead of the onFocus mechanism. 
Also, to help you better, please show us your patch, preferably in the 
Patches tracker.

Marc Delisle

More information about the Developers mailing list