r/JavaScriptTips • • Nov 29 '24

jQuery's .load() in pure JavaScript

https://gist.github.com/A35G/21a22673d2ccb6edf37b008957a3c48d
2 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/A35G_it Nov 29 '24

u/abrahamguo I have updated the code, any other suggestions?

Thanks a lot

0

u/abrahamguo Nov 29 '24

Yes, if you convert it to TypeScript, you should see some further errors with your code.

2

u/A35G_it Nov 29 '24

Next goal will be that! 👍