function stopRKey(evt) { var evt = (evt) ?.... blah blah blah, rookie needing help with cub scout web page |
function stopRKey(evt) { var evt = (evt) ?.... blah blah blah, rookie needing help with cub scout web page |
clardae2 |
Apr 19 2019, 05:16 PM
Post
#1
|
Group: Members Posts: 2 Joined: 19-April 19 Member No.: 26,881 |
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 This post has been edited by clardae2: Apr 19 2019, 05:17 PM |
clardae2 |
Apr 19 2019, 07:02 PM
Post
#2
|
Group: Members Posts: 2 Joined: 19-April 19 Member No.: 26,881 |
I fixed my issue - thanks
|
Lo-Fi Version | Time is now: 23rd April 2024 - 02:05 AM |