Removing linked text while using Jquery script
I am using a tool in php to write some HTML code for me and I stuck this chunk in there so that it could write me a footer with my company's information. It seems to work fine EXCEPT the links for www.company.com is include in "|Send Feedback" and the links for
docfeedback_@company.com are included in "|See:". How can I fix this so "|Send Feedback" and "|See:" are just plain text and not included as links!? Thank you so much!
What i have noticed is that the source code of my html file does not show </a> tags at the end of <a href> so i think that jquery is removing </a> for some reason...
- <div id="footer">
- </div>
- <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
- <script type="text/javascript">
- /**
- * Append footer to page.
- **/
- function paFooter() {
- return '<div class="memitem" id="footer" align=right><em>© 1989-2015 Company XX. </em>| Visit Us: <a href="http://www.company.com">www.company.com </a>| Send Feedback: <a href="mailto:docfeedback_@company.com">docfeedback_@company.com </a>| See: <a href="../../../../Terms_of_Use.html">Terms of Use </a><a href="../../../../Privacy_Policy.html">Privacy Policy</a></DIV><!-- end FOOTER -->';
- }
- $(document).ready(function() {
- $("#footer").append(paFooter());
- });
- </script>