Using a single DOM Content Loaded call

What would be the right approach to use a single DOMContentLoaded call on multiple functions as shown below: Here is what I have: function rtd3Transaction() { if (rtd3tchanged.checked || rtd3dchanged.checked) { formWrapperCertainSelection.style.display = ”; formWrapperConfirm.required = true; } else { formWrapperCertainSelection.style.display = ‘none’ formWrapperConfirm.required = false; } } rtd3tchanged.addEventListener(‘change’, rtd3Transaction); document.addEventListener(‘DOMContentLoaded’, rtd3Transaction); rtd3Transaction(); function rtd3Device()…

Details

Can search for specific title text and only display description xml?

<?php $xml=simplexml_load_file(“https://www.vegvesen.no/trafikk/xml/savedsearch.rss?id=604”) or die(“Error: Cannot create object”); foreach ($xml->children() as $items) { echo “<pre>”; print_r($items); echo “</pre>”; echo $items->title; echo $items->description; } ?> I am trying to search for a title that is named some thing spesific in this example (see photo): “Ev 134 Haukelifjell (Vestfold og Telemark/Vestland)”. After that is found i want to…

Details