dialog box functionality

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
sticcino
User
Posts: 1043

dialog box functionality

Post by sticcino »

Hi,

just to confirm, i needed some additional dialog box functionality (yes/no, confirm.. etc), but tese were not availible in the mobile version that phpm uses. So i included the jquery lib 1.11 librarys in my project... am I missing something with the mobile version?... don't want to include code that's not needed or duplicated

thanks,
Johnny


danielc
User
Posts: 1601

Post by danielc »

v11 use bootstrap 3 (not jQuery Mobile) to support mobile. So, bootstrap 3 and jquery 1.11.1 already included in header. If you want to use other plug-in for dialog, you need to include it yourself.


mobhar
User
Posts: 11737

Post by mobhar »

To include another javascript library, then you need to add the following code into "Page_Head" server event, for example (assume your javascript filename is "myjs.js" and it is located under "phpjs" sub-folder):

ew_AddClientScript("phpjs/myjs.js"); // Add JavaScript


Post Reply