Platon Technologies
not logged in Login Registration
open source software development celebrating 10 years of open source development! Sunday, August 7, 2022
About Us
Open Source
Index  »  Projects  »  phpMyEdit  »  Documentation  »  HTML  »  Javascript and DHTML

3.12. Javascript and DHTML

CGI sys and data name prefixing may especially be useful if you want to display two instance of phpMyEdit on the same page. But you will require to prefix Javascript and DHTML tags as well, to make phpMyEdit forms truely independant.

Javascript functions are default prefixed by PME_js_ string. DHTML ID tags are defaultly prefixed by PME_dhtml_ string. You may change this using the syntax below.

Example 3-34. Custom name prefix for JS and DHTML

$opts['js']['prefix'] = 'js_prefix_';
$opts['dhtml']['prefix'] = 'dhtml_prefix_';

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy