Questions tagged [javascript-debugging]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
0answers
35 views

Query Debug Mode Information Via Apex

Is there any way to Query the Debug Mode Information? I am looking to get information about all the users for whom debug mode has been enabled via apex? if there is any other way than apex, i would ...
-1
votes
0answers
12 views

Is it possible to insert record from community site pages using on load Java script function?

We want insert record in custom object when a site page is loaded in community. For that we would like use interactive javascript feature. when trying to use below script it is throwing error ...
3
votes
1answer
175 views

LWC constructor() error: “Must call super constructor in derived class before accessing 'this' or returning from derived constructor”

I'm getting the following error: Must call super constructor in derived class before accessing 'this' or returning from derived constructor after adding a very simple test constructor to my LWC ...
1
vote
0answers
37 views

Visualforce <Apex:tabpanel> breaks MathJax (math formating script)

Problem: I am using mathjax to format math equations nicely on a visualforce page. Everything goes great on a naked vf page. <apex:page > <!--script id="MathJax-script" src="https://cdn....
4
votes
1answer
106 views

How to use polyfill in visualforce component?

Link to polyfill: https://github.com/jonstipe/number-polyfill The polyfill is to allow increment decrement buttons in Internet explorer for I added the .js and .css file from the polyfill as a ...
0
votes
0answers
23 views

Prevent 'Uncaught Action failed' popup from displaying in lightning

Problem Throughout our code base we use throw 'Error', in lightning, to prevent code from continuing. There are times we display our own error toast and do not care for the Salesforce provided one. ...
1
vote
1answer
37 views

Unable to setup custom javascript detail page button

I am working on detail javascript button in the lead object. But now I am facing the below issue. Javascript code: {!REQUIRESCRIPT("/soap/ajax/30.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/24.0/...
1
vote
0answers
38 views

LEX becomes unresponsive when debugging (adding breakpoints) to loaded static resources

Using Chrome - Version 72.0.3626.121 I often find myself integrating 3rd party libraries and while attempting to do so in LWC's errors are not uncommon, so, I check the errors and using the ...