bfuchs
asked on
How to figure out where is my JS error?
Hi Experts,
My page is not functioning the way is supposed to, by looking at a screen like the attached, how can I figure out what is the cause?
Tried clicking on the red icon showing 2 errors but nothing comes up. (wondering why not...)
Besides I had those two errors before, so they're not the cause.
Thanks
Capture.PNG
My page is not functioning the way is supposed to, by looking at a screen like the attached, how can I figure out what is the cause?
Tried clicking on the red icon showing 2 errors but nothing comes up. (wondering why not...)
Besides I had those two errors before, so they're not the cause.
Thanks
Capture.PNG
ASKER
Hi,
We are supposed to see a draft button (see attached), which gets created by the code below and its not there.
Thanks,
Ben
Capture.PNG
We are supposed to see a draft button (see attached), which gets created by the code below and its not there.
// DRAFT
$('.draft-container').show();
$('.draft-container .draft-btn').click(function(event) {
// set status to draft
$('input[name$="Status"]').val('Draft');
// set other fields to required = false
setRequired(false);
// set required field for draft
setDraftRequired();
// set Signature
setSignatureDraft();
// submit the form
$('input[name="Submit"]').click();
});
Thanks,
Ben
Capture.PNG
I understand - look at your first image again at the top right of the console there is a message there that says "2 hidden" - go to your console settings and make sure you are not hiding console messages.
ASKER
Hi,
Don't see such option on attached.
Thanks,
Ben
Capture.PNG
If I click on the link on the right of the error, it point me the faulty codeBy Me it doesn't.
go to your console settings and make sure you are not hiding console messages.
Don't see such option on attached.
Thanks,
Ben
Capture.PNG
left of the "no entry" icon, click on that icon to reduce this left panel, you will see your errors
ASKER
Hi,
I have clicked all over the place, nothing brings up those errors.
Perhaps one of you can connect to my pc and show me how to do it.
Will be on vacation next few days, will resume upon return.
Have a nice weekend!
Thanks,
Ben
I have clicked all over the place, nothing brings up those errors.
Perhaps one of you can connect to my pc and show me how to do it.
Will be on vacation next few days, will resume upon return.
Have a nice weekend!
Thanks,
Ben
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Where are the errors?
You need to give us something to shoot at here.