DotNetNuke jquery script in container -


Hi I have created a container in DNN but I do not know how to implement jquery script in container. Does anyone know how this is done?

Best Relationship

To do this correctly, write some code (Which you can do inside your container). First of all, you would like to request jQuery from the framework. Then, add your plugin script (the best way is probably to use, so that the script is not added multiple times when the container is used multiple times on the page.

   gtc:   

I will probably replace the plugin script and in the end you will also include a call in which you can call the plugin on any element. / P>

  jQuery (function ($) {$ ('.my-container .header'). Plugin ();});    

Comments