[Phpmyadmin-devel] inline js
Marc Delisle
marc at infomarc.info
Fri Mar 26 13:01:31 CET 2010
Michal Čihař a écrit :
> Hi
>
> Dne Mon, 22 Mar 2010 20:46:42 -0400
> Marc Delisle <marc at infomarc.info> napsal(a):
>
>> It was not my intention to put there all our js stuff that calls jQuery,
>> only upstream stuff. Anyway we will (probably) have many calls inside
>> PHP scripts.
>
> Well the best approach is to have all js external - you can hook up on
> any events externally and there is no need to pollute HTML with inline
> javascript.
Michal,
how do you propose to handle the case when a condition in PHP triggers
some document.write calls that add a functionality only available with
js, like the color picker? See main.php in master.
--
Marc Delisle
http://infomarc.info
More information about the Developers
mailing list