I have html that contains many paragraph tags with an id such as the following:
<p id="123">some text</p>
What I want to do, is to display the id value within the p tag, preferably bolded.
So the above would create html of:
<p id="123"><b>123</b>: some text</p>
Any code samples that I have seen so far require that you already know the id or class value.
How do I do this with JavaScript? Thank you.