I have created a modal that i want to load on the click of menu. i can give id into the url of the menu. but where do i give data-toggle=”modal” and make the thing work.
After adding the code, based on the first link. Got this error, could you please tell what it is.
Uncaught Error: Syntax error, unrecognized expression: div# at Function.ea.error (jquery.js?ver=1.12.4-wp:2) at ea.tokenize (jquery.js?ver=1.12.4-wp:2) at ea.select (jquery.js?ver=1.12.4-wp:2) at Function.ea (jquery.js?ver=1.12.4-wp:2) at Function.a.find (jquery-migrate.min.js?ver=1.4.1:2) at n.fn.init.find (jquery.js?ver=1.12.4-wp:2) at n.fn.init.a.fn.find (jquery-migrate.min.js?ver=1.4.1:2) at a.fn.init.n.fn.init (jquery.js?ver=1.12.4-wp:2) at new a.fn.init (jquery-migrate.min.js?ver=1.4.1:2) at n (jquery.js?ver=1.12.4-wp:2)