Introduction
We can loosely think of jquery functions as operations that read, write or delete part of a web page.
Once an element is selected by jquery, we can perform a variety operations by executing functions provided by jQuery.
For example if we want to view the html of a div with id="popUp" we can execute the following line: https://raw.githubusercontent.com/finsweet/jqueryCourse/main/jquery%20functions/ex1.js?actionable=true All content contained in the div will be saved in our variable html_content. The jquery function that provides the div content is html()
$(document).ready(function(){
XT1
});
</script>
Live demo
<style>#buy{color:#baff00;} #buy:hover{text-decoration:underline;} .highlighter{background-color: rgb(186 255 0 / 17%);}</style><div id="minidivpage" class="example-live"><h1 class="heading">This is a heading</h1><div id="popUp" class="pop-up">POP UP DIV</div><h4 class="heading-4">Categories in a webflow list:</h4><ul role="list" class="list"><li>Location</li><li>Position</li><li>Level</li></ul><h3 id="title" class="heading-3">This is a title</h3><div class="highlighter"></div><a id="buy" target="_blank" href="#">Link</a></div>
$(document).ready(function() {
XT1
});
</script>