[Pas2js] bootstrap 5 modal: JQuery(...).modal is not a function

Luca Olivetti luca at ventoso.org
Fri Aug 11 13:17:05 CEST 2023


El 11/8/23 a les 13:01, Michael Van Canneyt via Pas2js ha escrit:

> 
> The latter: Import jquery with a tag, make sure it is before the 
> bootstrap js.
> (bootstrap 5 tries to detect the presence of jquery, so jquery must be 
> first)
> 
> I use bootstrap 5 with the libbootstrap in several commercial projects, 
> so I am quite sure it works :-)

Well, I must be doing something wrong since it gives me that exception 
here. Maybe I should delay the rtl.run() ("Run RTL when all page 
resources are fully loaded")?


Bye
-- 
Luca



More information about the Pas2js mailing list