title: Event action on clicking a hyperlink from a textbox
body: <p>Restating my question to be simpler....</p>
  
  <p>I want to be able to link an Action Script event to clicking text within a text box.The only thing I can see is to just create a basic Hyper Link, but not apply any action:</p>
  
  <p><img src="https://i.stack.imgur.com/pmp3u.png" alt="enter image description here"></p>
  
  <p>I have been messing around for over an hour but just can't see a way to apply actionscript and all the tutorials on the internet seem to target ActionScript 3 or not do exactly what I want.</p>
  
  <p>The reason for this is that there is background music to the site and when YouTube is launched, it needs to be muted. I know the code to mute and have done this on custom objects before, but I can't see any way to apply script to a textbox hyperlink.</p>
  
  <p>Whilst I would ideally like to do it this way, I am happy to consider any solution resulting in opening a page and muting the site.</p>
  
  <p>To be honest, I tried doing a quick switch to AS3, but as there are so many problems that would need addressing, I would rather spend the time converting the site to HTML/Jquery or even Silverlight.... I just hope there is something small I have overlooked which can get this done without too many changes needed.</p>