JSFiddle - React, Tailwind, and code Playground

by timmah

HTML

<h3 id="1-1-pegbovigrastim">1.1 Pegbovigrastim</h3>
<p class="pagemenu"><strong>On this page:</strong> <a href="#referred-scheduling-proposal-1">Referred scheduling proposal</a> | <a href="#scheduling-application-1">Scheduling application</a> | <a href="#current-scheduling-status-relevant-scheduling-history-1">Current scheduling status and relevant scheduling history</a> | <a href="#international-regulations-1">International regulations</a> | <a href="#substance-summary-1">Substance summary</a> | <a href="#pre-meeting-public-submissions-1">Pre-meeting public submissions</a> | <a href="#summary-accs-advice-to-delegate-1">Summary of ACCS advice to the delegate</a> | <a href="#delegate-s-considerations-1">Delegate's considerations</a> | <a href="#delegate-s-interim-decision-1">Delegate's interim decision</a> | <a href="#public-submissions-on-interim-decision-1">Public submissions on the interim decision</a> | <a href="#delegate-s-final-decision-1">Delegate's final decision</a></p>
<h4 id="referred-scheduling-proposal-1">Referred scheduling proposal</h4>
<p>An application was submitted by the Australian Pesticides and Veterinary Medicines Authority (APVMA) to consider whether pegbovigrastim requires scheduling.</p>
<h4 id="scheduling-application-1">Scheduling application</h4>
<p>This was a general application. The applicant's proposed amendments to the Poisons Standard are as follows:</p>
<div>
	<p><strong>Appendix B - New Entry</strong></p>
	<p>PEGBOVIGRASTIM.</p>
</div>
<p>The applicant's reasons for the request are:</p>
<ul>
	<li>Pegbovigrastim is a modified form of the naturally-occurring bovine immunoregulatory cytokine, bG-CSF. The naturally-occurring protein is produced by mononuclear leukocytes, endothelial cells and fibroblasts. Pegbovigrastim is identical in primary sequence to the endogenously-produced protein with the exception of the addition of a terminal methionine and a single amino acid substitution whereby a novel amino acid, p-acetylphenylalanine,...

JavaScript

$('a[href^="#ftn"]').each(function() {

	var $this = $(this),
		$matchId = 
		$ref = $($this.attr('href').trim('#'));
	
	console.log($ref);
	
});