gornycreative Posted January 26 Share Posted January 26 So it's a funny thing. I started using javascript a lot when I was still doing 'classic' ASP because it performed better than vbscript server-side, and then I shifted over into PHP around the time when Jquery was picking up speed, and then I got back into javascript when jquery was starting to get unpopular (at least here in the US it went through an extended grumble phase) and so I was doing a lot of vanilla js stuff and then with node, react/vue etc... My jquery knowledge is not that great. I know enough to do repairs and some debug but now as I start to work more with client side stuff in PW I need to sharpen up. Is there a faster track than the straight docs anyone would recommend? Link to comment Share on other sites More sharing options...
Jonathan Lahijani Posted January 26 Share Posted January 26 Because I don't write JS often, hold my nose when I do, and since it's usually for little tweaks or UI adjustments, my knowledge of the syntax and weirdness of the language overall doesn't seem to stick (how do I add a class to a div again in vanilla JS?). Google is not so great because oftentimes the information is outdated on Stack Overflow results and requires a lot of sifting. However ChatGPT is phenomenal with JavaScript (and jQuery) if you want develop AND learn at the same time. Seriously a game changer for me. Unfortunately it's not so great for AutoHotkey, or at least it seems to keep giving me v1 code as opposed to v2 despite telling it to give me v2, but that's OK because it still provides some guidance which I supplement with AHKs documentation. 1 Link to comment Share on other sites More sharing options...
cwsoft Posted January 26 Share Posted January 26 Hi, yepp ChatGPT or Copilot with VSCode are great ways to refactor code or automatically add features by prompting your needs. Don‘t use StackOverflow very often these days. 1 Link to comment Share on other sites More sharing options...
gornycreative Posted January 27 Author Share Posted January 27 I don't use a lot of JS in new stuff, it's the already existing stuff - especially old stuff I've done where I was sloppy and used things without necessarily understanding the ins and outs - a lot of that I have tried to transition into vanilla JS just because jquery was total overkill, but I still run into it often enough. using gen ai is a good idea though. I bet it does a nice job of suggesting alternatives if I want to pop jquery out too. 1 Link to comment Share on other sites More sharing options...
gornycreative Posted February 9 Author Share Posted February 9 Looks like now is a great time to dive back in! 7 Link to comment Share on other sites More sharing options...
FireWire Posted May 7 Share Posted May 7 I like his serious and thoughtful approach in this video. It's pretty crazy to see all of the deprecated methods in jQuery that have been implemented in vanilla JS that I've taken for granted. I haven't used jQuery in years but this video really takes me back to when it was more than a convenience- it was pretty much essential to get things done, done well, and done on time for projects. Pull up a chair kids and let grandpa tell you about the old days when we had to write JavaScript to mimic the placeholder attribute for form inputs because not every browser supported them. Not a joke. Random sidenote, I ran into this guy in a very tiny sushi restaurant in Japantown on a trip to San Francisco earlier this year. That mustache is on another level in person. 1 Link to comment Share on other sites More sharing options...
FireWire Posted May 7 Share Posted May 7 Just remembered this site. It was created many years ago with some really (really) humble beginnings to translate jQuery into JS as features became supported enough to be safely used. Ironically, it's aim is to suggest you don't need jQuery- but the content has grown so much now it could just as easily be used as a reference of sorts to show everything you can do with it. https://youmightnotneedjquery.com/ Even now with feature parity, jQuery really does shorten and simplify a ton of things. 4 Link to comment Share on other sites More sharing options...
Recommended Posts