when I use the jquery chosen drop-down plug-in, I put the initialization code
$("-sharpmaintainerName").chosen();
When is written in the imported js file, the plug-in cannot be used and the style can be loaded, but clicking the drop-down box does not respond.
but as long as I write this line of code in the < script > of the current html, everything will be fine.
what"s the difference between writing js, in the < script > tag in html and writing js in the imported js file?
Thank you