So, I'm trying to add a script to my Master Page to add a mailto Feedback hyperlink. However, I can add whatever I want, so long as it isn't a hyperlink. I'm still using 10.2.2 until my organization can find the keys that were mailed to us
This is my simple script:
Code: Select all
<div>
<script type="text/javascript">
$(document).ready(function(){
$("#Feedback").append("<p><u>Hello Again</u><a href="mailto:dorcutt@example.com">Email us!</a></p>");
});
</script>
</div>
If I cut out the <a> tag, the paragraph tag is added fine. If I replace the <a> tag with "Hello, World" it also works fine. Simple links to google also do not work.
I'm assuming this is a security "feature." How can I get around this (safely)?