Optimizing JavaScript Integration with Weweb for HTML Loading

In this meeting, the State Changers discuss a problem with using JavaScript calls inside HTML and the solution they propose using jQuery. They explain that the issue arises because the JavaScript needs to be loaded before the HTML, but when using jQuery, they can attach the function to the HTML using selectors. They also discuss the difference between scalar attributes and functional attributes in HTML and how to use event handlers in jQuery. They clarify how to refer to elements on the page using IDs and discuss making adjustments to the code accordingly. In the end, one participant mentions having a minor issue but decides to focus on their major issue instead.


(Source: Office Hours 11/21 )

State Change Members Can View The Video Here
chris-montgomery-smgTvepind4-unsplash.jpg

View This Video Now

Join State Change Risk-Free