• Register
search
Log In

Recent questions tagged javascript-events

1 vote
1 answer 36 views
Problem: My code isn't running. In the console the error is &ldquo;Uncaught SyntaxError: missing ) after argument list&rdquo; but there are no missing ) I find. Here is my code below: var nav = document.getElementsByClassName('nav-coll'); for (var n = 0; n < button.length; n ... function(){ console.log('haha'); } }, false); }; I&rsquo;d be thankful to him if somebody pulls me up from here. Thanks.
asked Mar 9 Gavin 15.2k points
0 votes
1 answer 28 views
Problem : I want to send a call using ajax but in Chrome getting following error Failed to load resource: the server responded with a status of 500 (internal server error) But for firefox getting no error. I also tried to record the ajax call in firebug but there is no call request in ... function (msg) { }, error: function (xhr, status, error) { alert(error.responseTextss); } }); }); }); }); }
asked Nov 22, 2019 peterlaw 6.9k points
To see more, click for the full list of questions or popular tags.