Very new to JS and Jquery as well as StackOverflow so please forgive me if I don't "do this the right way". I think this is only my 4th question.
I have some code that I have (admittedly) plagiarized from snippets found in various places. I'm struggling in trying to understand a couple of (I think) very basic concepts...just did not know how to reverse "look up" a piece of code in order to find the answer on my own.
Within my JS function I do some conditional checking and set various strings based on which radio button the user selects.
$("#showme").text("100.00");
Anyplace that I want to reference this in HTML is done like so:
<div id=showme>
This is working like a champ...no problem.
My question is this: Am I actually setting a JS var named "showme" as a string variable or is this strictly a way to just plug in some text to an HTML element. In other words...no var is getting set but this structure simply serves as a pipeline to plug in some text?
I know this is stupid simple for most of you guys...sorry! I'm trying to learn.