Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ function stopRKey(evt) { var evt = (evt) ?.... blah blah blah

Posted by: clardae2 Apr 19 2019, 05:16 PM

I'm new to HTML coding as I jumped into our cub scout pack website and need some help.
I commented out a few outdated items in the cPanel domain host; but then this error code appeared at the top of the page:

function stopRKey(evt) { var evt = (evt) ? evt : ((event) ? event : null); var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null); if ((evt.keyCode == 13) && ((node.type=="text") || (node.type=="password") || (node.type=="email") || (node.type=="tel"))) {return false;} } document.onkeypress = stopRKey;

I have no clue what most of that means.

Also - the index.php file calls up a header.php file; but I an not able to comment out tabs I'd like to eliminate - can't even change the words in the tabs that are text-based.

site is www.cubscoutpack99.com

Posted by: clardae2 Apr 19 2019, 07:02 PM

I fixed my issue - thanks

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)