I am wondering how I can import jquery into a .js file. I want to be able to use codehints (intellinse) but given this is a separate file, I cannot do that. Maybe I don't have to import, but is there any way to get
$().[hint]
to show up inside a standalone .js file?
Put this at the beginning of your js file
/// <reference path="/js/jquery.js" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With