Questions tagged [javascript-debugging]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
13 views

SOQL query on related records in Javascript(Visualforce page)

I have written below query in Javascript(Visualforce page) and trying to access query result as shown below, but it is failing at second console log and giving error in developer console. var ...
0
votes
1answer
34 views

In JS of LWC, line after forEach statement does not execute

I have below Javascript function in lwc apexJobInfoData; @track isBatch; getData({ error, data }) { if (error) { // TODO: handle error } else if (data) { this.jobId = ...
0
votes
2answers
22 views

Javascript validation check not working

I am trying to check javascript validations on some fields in visualforce page. Following is my code. <apex:page > <html> <head> <script> ...
3
votes
0answers
37 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 ...
3
votes
1answer
567 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
38 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
123 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 ...
1
vote
1answer
39 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
39 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 ...