Thursday, January 16, 2020
Lab 11 Reflection
Lab 11 was tied in with changing content on a website page utilizing AJAX. What AJAX does is enable site pages to be refreshed without stacking the whole page. Utilizing jQuery's .heap() technique, content from a .txt record can be stacked onto a website page and change the page's substance. The manner in which I actualized this on my site page's HTML was making content between <p> labels with an extraordinary id and a catch that would change the content utilizing AJAX. I made a .txt record with content I needed to supplant the first content on my page. I connected my HTML to the jQuery library and made a document.ready() work in my content. This capacity called another capacity that joined a .tick() work onto my catch which itself appended the .heap() capacity to my section and took the name of my .txt record as a parameter, something important to stack the new content. Presently, at whatever point I clicked my catch, the content from the .txt record would stack rather than the default content. This was a very simple lab and all I really had to do was include this in my script tag, however, I see that this can be easily added to any of my sites and it is definitely possible that I will use this in my other labs and projects.
Subscribe to:
Post Comments (Atom)
G4C #3 Report
G4C #3 GET THE PARTY STARTED Brian Sherpa The Issue: A significant percentage of Americans are currently dissatisfied with both political...
-
In lab 27 I made an item with properties, yes it was that basic. I made myself and included my age of 17, my name which is Brian, an...
-
Brian Sherpa Lab 6 Reflection 12/2/19 So in this lab, there isn't much to explain except that it's basically a continuation ...
-
Lab 21 was tied in with making an HTML canvas the client could draw on. In the HTML, the main thing we expected to do was to set up the ...

No comments:
Post a Comment