You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for Demo "Creating Plugins(+Javascript API +PHP API)" appears to be broken and only shows partial information, while there is much more info than the one that appears.
As you can see, the code wraps data inside script tag, but it only adds an opening script tag, without a closing script tag. For this reason, calling method jsCode() will render the rest of lines to be javascript, effectively messing up the HTML of a page.
The documentation for Demo "Creating Plugins(+Javascript API +PHP API)" appears to be broken and only shows partial information, while there is much more info than the one that appears.
Link:
http://cjax.sourceforge.net/examples/plugins.php
The text was updated successfully, but these errors were encountered: