Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

jQuery is an open-source multi-browser JavaScript library designed to simplify the client-side scripting of HTML. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.

0
votes
0answers
11 views

Uncaught TypeError: Cannot read property 'nodeType' of null throws at resource/jquerymin311:3:10545 lightning

I am facing Uncaught TypeError: Cannot read property 'nodeType' of null throws at https://bandwidth--partial--c.cs47.visual.force.com/resource/jquerymin311:3:10545 error when I am an Clicking an <...
1
vote
0answers
24 views

Lightning Event is not Firing inside the JQuery Library Methods

Working on full calendar functionality.But Lightning event isnot firing inside the full calendar method. Error: [Cannot read property 'setParams' of undefined] Screen Shot: Event Calendar (...
0
votes
1answer
16 views

Uncaught SyntaxError: Unexpected identifier because of special characters and foreign language names present in Account

I have developed page with autoComplete feature. I'm getting an Uncaught SyntaxError: Unexpected identifier error because of symbols used in Account Names such as "诸城金盛-abc Commerce and" Co., Ltd. I'...
0
votes
0answers
42 views

How do I pre select MultiSelect picklist values and update a record with the selected values on a VF page? [Included VF and Apex example]

I'm having some trouble understanding how to do this with my code. I feel like im really close since im populating all the available values to the picklist but its not pre selecting the values set on ...
0
votes
1answer
16 views

How do I compare two JQuery Datatables in Visualforce Page to color rows where the value exists in the second datatable

Please help me on the following: I have two different JQuery Datatables that are getting data from two different objects in Salesforce; Account Assets (Products that an Account has bought already) ...
0
votes
1answer
11 views

JQuery attribute that turns off the As Of subtitle on the analytics:reportChart components

My 'AS Of' report chart subtitles are showing again. Not sure when but everything seems to be in order. Does anyone know if this command is deprecated ? <apex:page standardController="Audit__c" ...
0
votes
1answer
35 views

How to call a jquery function from an autocomplete search box which is specified in VF Component

I'm having an auto-complete search box which lists the product details on entering the string. I have specified this in VF component and referring the same in my vf page. Now I want to hide one text ...
0
votes
1answer
49 views

How to implement a jQuery lib in lightning components?

I've been struggling to set my awesome jQuery carousel into a lightning component but it doesn't seem to work. Instead i'm having an error from the lightning component debug tool : myComponent.cmp : ...
0
votes
0answers
20 views

To display a Text Field on selection of a particular pick list value [duplicate]

My requirement is suppose a pick list field is there like "Bill Shipment to", and it's values are 'SHIPPER', 'RECIPIENT' & 'THIRD PARTY', then if i select third party then a text field will be ...
0
votes
1answer
27 views

Using Magific Popup

Using Magnific plugin to try to display images in a lightbox gallery. Using {!URLFOR($Action.Attachment.Download, someId)} or /servlet/servlet.FileDownload?file={!someId} instead of the filepath, ...
0
votes
1answer
54 views

multiselect table row checkbox using jquery

I have a VF page with a datatable that is populated from a custom search. The datatable has a checkbox column so that the rows can be selected and processed. I'm trying to implement a way for the ...
0
votes
1answer
89 views

Convert JSON string into apex map [duplicate]

Assigning JSON string to apex:inputText jQuery code: $('*[id*=stageName]').val(JSON.stringify(final_array)); Apex & Visualforce: public String stageName{set;get;} <apex:inputText value="{!...
0
votes
1answer
40 views

Record changed data is not sending from VF page to controller in case JQuery Pagination

VF page displays the records using page block table. I'm updating the records from VF page by clicking on "Save" Button. I've used standard Jquery pagination to implement the pagination. When I am ...
2
votes
0answers
60 views

Data from Ajax JSON POST is replaced with Cloudpages tracking script?

I should preface by saying that this is in a SFMC Landing Page and I'm trying to send form data to another cloudpage to handle it. Current code: $('form').submit(function (e) { e.preventDefault(); ...
0
votes
1answer
57 views

get value of apex:inputCheckbox in jQuery

I am trying to use a apex:inputCheckbox and pass the value (if it is checked) to a JS function. I have tried everything from onClick, toggling, event listeners, .checked, this question , and pretty ...
0
votes
0answers
41 views

In VF page record in not updating from other pagination pages. In Vf used jquery pagination

I've created the VF page to mass update the records. Records are displayed using page block table. I've used the jquery pagination. When we submit data from page it should update to the system. Its ...
0
votes
1answer
29 views

Show selected row in alert

I have to show the selected row in an alert. Can someone please help me? Below is the page code snippet. <tbody> <apex:repeat value="{!contactList}" var="contact" id="loop"> ...
0
votes
0answers
13 views

Restore scoll position of Visualforce page after refresh

I have Visualforce page on Opportunity page layout at the bottom and when a picklist value is selected on VF page and saved page should refresh and restore scroll position. Right now it is refreshing ...
0
votes
2answers
40 views

Getting Null value in controller on button click

Hi I am trying to show date picker on my VF page using jquery date picker, date picker showing properly on my page, the problem is that when I click on submit button I'm getting null on my controller. ...
0
votes
0answers
56 views

How to prevent page to scrolling to top automatically when rerendering?

These are the Picklist values in my Vf-page. after rerendering the page the scroller is moving to top automatically u can see in first image the scroller is near to bottom after selecting the ...
0
votes
0answers
31 views

Javascript Custom Button Issue

Something Very strange issue , I observed today. Create a detail page button on contact (didn tried for other object) and behaviour as Execute JavaScript and paste the below code {!REQUIRESCRIPT("/...
2
votes
2answers
136 views

Jquery AutoComplete in Visualforce Page

Autocomplete feature is working great but when there are two Contact blocks and when I try to search for contact then it updates both Contact blocks.How do I make sure it updates only the block that I ...
2
votes
1answer
109 views

Help with Drag and Drop between multiple lists and Save button function with Controller class

I´ve searched around but havent been able to find anything yet. Ive created a field in the Account object called "nivel" which means level. The idea is that every account record can have 3 possible ...
0
votes
1answer
203 views

Jquery is not working for second page onwards in page pagination

I've created a VF page and using jquery pagination. Created some custom functionality using jquery. But that jquery functionality only working for records which are loading on the first page. when I ...
1
vote
2answers
75 views

getElementById Returns Null in Apex Form on Visualforce Page

I'm attempting to make a form on a Visualforce page that will, when a button is clicked, grab the contents of a SelectList and 2 InputFields and then perform some actions with those values via a ...
0
votes
1answer
97 views

jQuery parseXML() no longer works since Summer '18

Since the Summer '18 patch the jQuery parseXML() is now throwing a "Invalid XML: .." error message. Sample code: try{ var xml = "<node>test</node>"; var xmlDoc = $.parseXML(xml); ...
0
votes
1answer
136 views

Appending an iframe to a lightning component

I'm trying to append an iframe to a nested div, but for some reason, the append doesn't work when it's an iframe. var cmpStyle = "width: " + theWidth + "; height: " + theHeight; $("#createInMe")....
0
votes
0answers
91 views

jQuery UI Sortable not recognizing dropped item in array

I'm trying to use jQuery UI Sortable to create records, and to enable the user to change the order of created records. The problem I am having is that upon drop, the array excludes the item dropped. ...
0
votes
2answers
104 views

How can we show helptext of a field in VF page [duplicate]

I am using fieldsets to display fields in a VF page. Is there a way to display the help text icon next to the label if there is a help text associated with the field and display the text on hover? ...
0
votes
1answer
59 views

Rest Api Opportunity-endpoint Not Found

I'm building a wordpress-site, which needs access to my salesforce-data. I'm using the REST API, and have set up the connected app with Oauth. When Once the user is authenticated as a community-user ...
0
votes
0answers
29 views

Setting up and calling a proxy on my controller from Javascript via URL?

So far, from what I have found, I made this method in my controller: global static HTTPResponse Pdf_Export_Save(String contentType, String base64, String fileName){ system.debug('Http Response ...
0
votes
0answers
76 views

jQuery Data Tables with Lightning Component?

I implemented jQuery Data Tables to display child records based on a filter in a another component. Whenever the filter is selected, the jQuery Data Table updates to only show the records related to ...
0
votes
0answers
18 views

Picklist Field Not Updating Due to Disabling/Enabling Behavior

This post is related to this: Custom Picklist Field Not Updated When Value is Changed. At first, I was wondering why picklist field is not updated every time its value is changed. But then, someone ...
1
vote
1answer
53 views

Latest version of jQuery that works in Salesforce Lightning with LockerService?

I'd like to know what is the most recent versions of jQuery and jQuery-UI that works with Salesforce Lightning with LockerService on?
0
votes
0answers
43 views

Datepicker Error after Api updgrade on Visual Force Page

One of my visual force pages is no longer able to render the Datepicker after a change I made to the API version. I want to be able to use the SLDS styling and hence the need to modify the API version....
0
votes
0answers
62 views

Check multiple checkboxes in VF page on condition

Scenario: VF page is having two column:checkbox and fee name. Second column is coming from object 'Fee' which is child of 'App' object. An 'App' record can have multiple fees associated to it.Below ...
1
vote
3answers
56 views

Checkbox Disabling Other Text Fields From Other Rows

I created a visualforce page wherein a text field (disabled in default) must be enabled when a checkbox is equal to true, while it must be disabled when checkbox is equal to false. I don't have any ...
3
votes
2answers
306 views

How to access SLDS icons from a lightning component Javascript controller?

I am needing a switch statement, and depending on the type of file uploaded, I want to change the background of the uploader to represent the file type (pdf, doc, txt, etc...). So, <lightning:...
0
votes
2answers
259 views

Jquery document.ready function is not working after calling apex method

I have jquery document ready issue. I wrote the below code and document.ready function is working until the apex method is called. Once apex method is called, the event is not firing. I need some help....
1
vote
0answers
28 views

Visualforce : Actionfunction method is called before variable is initialised

In my table (generated via apex:repeat) I have this button "Show Previous Versions". The button's id is prefixed "AWSPID". This is the button's markup. <td> <button id="AWSPID{!awsvar.cnt}"...
0
votes
0answers
27 views

delay on callback of new sforce.SObject ajax call

im creating SObject("Attachment") the problem is depends on how big is the file usually it take some amount of seconds do get the results. I have onSuccess function it returns but even with the ...
0
votes
0answers
33 views

ui:inputDate the displayDatePicker wont close in lightning component

I have ui:inputDate and I do have onchange function on it. the problem is the data-picker wont close. My guess is having 3 different components on the page making it confuse cause onchange it update ...
0
votes
2answers
46 views

jquery validation for multiple lookup field in visualforce

I created a table using with Account lookup field along with other fields. I have assigned same style class name to all lookup as they're mandatory. VF code: <apex:page> <apex:pageblock&...
3
votes
1answer
123 views

Get access to salesforce REST API without user logging in

I'm trying to create a webshop, containing the products from our salesforce community. I'm not able to figure out how to get access to this data, without the user having to log in first. Which is ...
0
votes
0answers
60 views

VF : Set controller variable from VF page using jquery

This is my VF and it has a simple drop down list (built via HTML). <apex:page showHeader="false" sidebar="false" cache="false" contentType="text/html" controller="AWS_Upload" > <...
0
votes
1answer
28 views

Dynamically change the label of Javascript button based on the field value

I want to change the label of a javascript button based on the field value on a custom object. I tried implemented using the solution provided in the below link however not successful. There is no ...
0
votes
0answers
73 views

How can i add Multiple Autocomplete components in visual force page

I need some help in creating multiple auto complete components in a form. I'm able to create a visualforce component for auto complete functionality. Visualforce Component: <apex:component ...
0
votes
0answers
32 views

Jquery hiding row functionality causing error on pageblocktable

im using jexpand to build a nested collapsible table within table rows in a visualforce page. It initially works fine when loading but once it is rerendered, when a button is clicked, an error is ...
0
votes
0answers
251 views

Screenshot a div in component

I am trying to capture a screenshot of a div on a button click. The problem is it is not going through the onrendered, skipping it instead. I am getting console errors like: null TypeError: Cannot ...
2
votes
2answers
290 views

Action.setCallback did not getting executed

The issue is in the eventClick function where I'm trying to invoke the apex controller method-getDataEventss(). The action call state is not got printed in console which means its not getting executed ...