Questions tagged [jquery]

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

Date range filter using JQuery DataTable with Salesforce as server side

I have a requirement where I need to put all the TXN__c records in a table where I have more than 50,000+ records that's why I use server-side. On load I can now get what I want. My next challenge ...
Fer Catapang's user avatar
0 votes
1 answer
63 views

How to update sendlog data extension after the email launch that has no primary key

We launched the ABC campaign newsletter to a 30000 target audience. Unfortunately, the subscriber key's email address was mapped incorrectly and the email launched. After the email launch, all email ...
Sfdcprgmr's user avatar
  • 405
0 votes
1 answer
76 views

Is it possible to run jQuery (3rd party library) from a LWC that is inserted into an LWR site?

There are many tutorials on adding 3rd party scripts in LWCs. I've tried adding this LWC in both the Salesforce dashboard and an Experience Cloud LWR site. It works on the dashboard, but breaks in ...
Alex Krikorian's user avatar
1 vote
2 answers
112 views

Using LWC in a VF page (Lightning Out) is causing issues with the old VF page behavior

We have a VisualForce page which is used to be the config page for a managed package, there we have a lot of logic, and everything worked fine before adding an LWC using the lightning out. All the ...
Elivelton Walter's user avatar
0 votes
1 answer
205 views

Having a double question mark query for one email url

I've added a question mark in url on marketing cloud because I want a specific code added in every email of the journey. When I send my email the usual query added after the launch give me two ...
myunkownpseudo's user avatar
0 votes
0 answers
1k views

jQuery datatable checkbox checked not working

I am trying to use checked. checked property in jQuery datatable based on record selection and want to pass it to server side for further processing. Here is a prototype of what I am trying to do. ...
CRM Guy's user avatar
  • 619
1 vote
1 answer
108 views

Change the apex:commandButton value from 'Return to Uploader' to 'Done' from Javascript (Jquery)

I have a requirement to change the value of apex:commandButton from 'return to uploader' to 'Done' using Javascript(Jquery). Below is my VF Page code: <apex:commandButton style="float: right;&...
Rahul Allada's user avatar
2 votes
0 answers
392 views

Multi select Date Picker - LWC component

I am working on an LWC component that requires a multi-select Date Picker. Currently I have created a date picker with out-of-the box date picker. But the out-of-the box Date Picker doesn't support ...
Avin Babu Pattathy's user avatar
0 votes
0 answers
36 views

jquery gridly use error

I'm the first developer to use J-Query on lwc! When testing in the JS environment, the one, two, three, four, five, and six tags in the .gridly tag became freely drag and drop. However, in lwc, you ...
Yeonbi Ji's user avatar
0 votes
1 answer
270 views

Visualforce Page - Prevent onComplete With JQuery If Condition Does Not Meet

Folks, I have a button calling a function in JQuery and it has onComplete attribute. I want to check if the condition has been met or not , if not onComplete will not fire. Here the condition I want ...
Pam's user avatar
  • 97
1 vote
1 answer
565 views

How to restrict certain Days from DatePicker in Lightning web component (LWC)?

I want to disable certain days from a datepicker like weekends. I've read that it's possible using Jquery but I couldn't find any documentation related to LWC. Thanks, Kamal
Kamal's user avatar
  • 13
1 vote
1 answer
595 views

JQuery - "$ is not defined" Error only in Experience Builder

im trying to use jQuery library in my experience builder (LWR) site i used code from this video: https://youtu.be/W5VLwlXtStM and it works perfectly OK in salesforce (exactly as shown in video) but in ...
matistikoff's user avatar
0 votes
0 answers
977 views

Javascript datatable - Row ID's not being picked up after pagnation

I am creating a data table which has an onclick event for 3 columns. When clicking any of the columns on page 1 everything works as expected. If I use the pagination to go to page 2 then the onclick ...
Ryan Gemmell's user avatar
0 votes
2 answers
354 views

Why does submitting hidden POST form via jQuery in an LWC not open a new browser tab?

This JavaScript code works when clicking a button on a web page but not in a Lightning Web Component action on a record detail page: var form = $('<form />', { action: tat_loginAs_URL, ...
Rob Alexander's user avatar
0 votes
0 answers
331 views

API callout from aura component using Jquery

We have a API callout from aura component which gets invoked on a button press. Our org has about 150+ users using it. Nowadays , few users are complaining of API not getting called from aura ...
Rohit's user avatar
  • 1,614
0 votes
0 answers
620 views

LWC + Bootstrap Datepicker: issue trying to refresh the calendar UI

I got a request to disable some dates on the date picker and reload it when a certain field is changed. Disable certain dates is not possible with lightning input. So I've implemented it on Bootstrap ...
Mario Daniel's user avatar
-2 votes
1 answer
305 views

JQuery to make either one of the date picker field required

I have two date picker fields in my vf page. I would like to make either one of them required. I am able to make them individually required, but need help to make either one of them required. ...
Sudipta Deb's user avatar
  • 1,261
2 votes
2 answers
1k views

LWC - Checkbox read-only, reset

I'm pretty new to this LWC environment and trying to change jQuery to the LWC friendly. So this is about the checkbox where you can select all the options, but when you click on the "None of the ...
Ian Lee's user avatar
  • 117
0 votes
2 answers
149 views

Using datatables.net with VisualForce Pages

I read from a contributor about using https://datatables.net/ for tables in VF pages. I have the need to sort out a child related list called "Labor_Items__c". Since I am using standard ...
cpaesano's user avatar
0 votes
0 answers
462 views

updating data extension from front end javascript using ajax and json code resource

I have a preference center page to update preference values using toggle button(check boxes) without a save/submit button, so each toggle button should be processed separately. I am making ajax call ...
jay's user avatar
  • 13
1 vote
0 answers
2k views

DataTables taking a long time to load/timing out

Is there anything about the following Datatables code that would cause a timeout or cause issues with the construction of a datatable? First, I have jquery, bootstrap, jqueryui, datables, and moment....
Daniel Retaleato's user avatar
0 votes
1 answer
32 views

Help needed, apex visualforce tabs stops working when I add link href and script src

My visualforce apex tabs and the picklists I have in them stop working if I add these lines below . Iam need to add tagging system for search, so I found this jQuery plugin but it is creating issues. ...
CcMda's user avatar
  • 1
0 votes
1 answer
285 views

jQuery hide buttons but after another event they are shown again

I have installed a managed package that has a VF Page and a static resource (JS). I cannot change neither the code of this static resource nor the VF, but i have the ability to create another static ...
Giorgos Galaios's user avatar
0 votes
1 answer
822 views

jQuery hide button before even shown

I have installed a managed package that has a static resource (JS). This static resource performs a jQuery "prepend" to show a button. I cannot change the code of this static resource but i ...
Giorgos Galaios's user avatar
0 votes
1 answer
113 views

Drag Drop records in canvas giving error Aura lightning

I am trying to display all records in a card format and trying to drag and drop it in a canvas. When i am trying to drag an element its giving the below error <aura:component controller="...
user2542953's user avatar
1 vote
1 answer
1k views

Can we use jQuery UI with Salesforce LWC

I am trying to use draggable functionality of jQuery UI in LWC. I am loading the jQuery Base Library 3.6.0, jQuery UI 1.12.4 (js & css) below is my code dragTest.html <template> <...
Atharwa Samant's user avatar
0 votes
1 answer
299 views

unable load jquery orgchart in lwc

I am trying to create an Org chart using Jquery like the below link in LWC https://www.jqueryscript.net/demo/Create-An-Editable-Organization-Chart-with-jQuery-orgChart-Plugin/ I am able to get all the ...
user2542953's user avatar
0 votes
1 answer
775 views

JQuery Datatable in LWC responsive not working

I am using JQuery Datatable in LWC (https://datatables.net/extensions/responsive/examples/) which i can use both in desktop and mobile version . I am trying to achieve the below responsiveness where ...
sfdc_to_learn's user avatar
1 vote
1 answer
689 views

Jquery UI failing for My lwc app

I am trying to use the jQuery sortable functionality for my LWC app where I can reorder items in a column and even move them from column to column. I have the jquery and jquery UI libraries loaded in ...
Emmanuel Maina's user avatar
0 votes
2 answers
255 views

Experience Cloud Visualforce page is having library and resource loading issues after cloning a Sandbox from Production

The Visualforce page is working fine in prod, but I spun up a Sandbox to do some dev work on it and the CSS wasn't loading, nor was jQuery. jQuery seems to be the first area where things start to ...
Thomas Fredrickson's user avatar
1 vote
1 answer
825 views

Select2 dropdown getting hidden

UPDATE: Adding image from console view: I am trying to implement Select2 js in my sample page: Initially I ran into this problem - jQuery not a function, $ is not a function on select2.js in doInit ...
mvk1991's user avatar
  • 535
0 votes
1 answer
814 views

jQuery not a function, $ is not a function on select2.js in doInit method

I am trying to use below Select2.js library in my Lightning Aura Component. I loaded the library properly and even the jQuery, I am getting alerts in afterScriptLoaded method. However, when try to use ...
mvk1991's user avatar
  • 535
0 votes
1 answer
3k views

How to solve the following error of visualforce page "Uncaught Error: Bootstrap's JavaScript requires jQuery at bootstrap.min.js:6"?

We are using bootstrap in our visualforce page for modal popup. And it is working correctly on our browsers. But one user having the issue for loading jQuery. He is getting error "Uncaught Error: ...
Darshana's user avatar
0 votes
1 answer
209 views

Can anybody suggest me how to implement jquery sparklines in LWC

I have Loaded jquery sparklines static resource downloaded from https://omnipotent.net/jquery.sparkline/#s-news still i cant use functions in it to implement sparklines in LWC this is my html code <...
Teja Parsa S.'s user avatar
0 votes
1 answer
93 views

GYRO datatable JS in Aura component, trying to fetch selected values of the table

I'm trying to use Jquery data table and want to know how to fetch the selected values from the data table. On select of the row the count should be updated. Refernce i'm using is https://www.gyrocode....
shaan's user avatar
  • 57
0 votes
1 answer
182 views

GYRO JQuery in Aura component

I'm trying to use Jquery from below link in my aura component. I wanted the search and multi select functionality from that table. Can some one please guide me how to use that Jquery library in aura ...
shaan's user avatar
  • 57
1 vote
3 answers
5k views

How can I load jQuery in LWC?

For the convenience of the user, I'm implementing the requirement of katakana is automatically entered when entering hiragana or kanji in Japanese using this JavaScript library. You can check the ...
sagekoder's user avatar
  • 105
0 votes
0 answers
528 views

Getting error "Uncaught ReferenceError: sfdcPage is not defined" when loading Visualforce page in Lightning

I have a Visualforce page that launches from a custom button, and this VF page launches fine into a new window in Classic. However, this button does not render properly in Lightning. The page "...
user87881's user avatar
0 votes
0 answers
253 views

Accessing static resource from ZIP file in Aura component

I Uploaded a JQ_UI.zip file. Structure shown below: JQ_UI.zip - jquery-ui.min.js -jquery.ui.js -jquery-ui.min.css Aura component: <ltng:require scripts="{!join(',', $...
Yousaf Ishaq's user avatar
0 votes
1 answer
131 views

Unable to access selectOptions values with javascript or jquery after rerender of Visualforce selectList

All, I have a visualforce SPA that loads a promotional code using a soql query. When I don't rerender the picklist, jquery can easily find the selectList id and its value, and it works great. However, ...
Snights's user avatar
  • 33
0 votes
2 answers
2k views

Jquery filter is not working on search while type for Table content

I'm trying to have the search while type jquery which would filter the table content based the inputtext typed. https://www.w3schools.com/jquery/jquery_filters.asp I tried to implement the same from ...
SMorse's user avatar
  • 47
0 votes
0 answers
167 views

How to get html form input hidden value which is rendered from Javascript on click function to lookup DE and pre populate form selections

I have a cloud page A that has Javascript and another cloud page B which has HTML, AMPscript and the cloud page A is called in cloud page B as src (<script src ="%%=Cloud Page B's URL=%%"&...
tienar's user avatar
  • 1
0 votes
0 answers
29 views

Image not rendering as pdf in visualforce page when adding data:image/jpeg;base64 as an image property [duplicate]

I need to render an image in Visualforce as pdf. When I load the page without the renderAs="pdf" the image loads But the same image doesn't render in pdf except for a small box. Visualforce page to ...
Hara Prasad Sahoo's user avatar
0 votes
1 answer
178 views

How to get the URL to a specific record page in render function?

I am trying to generate the dynamic URL to redirect to record but it appends the id to the current page. For example, I am getting--> https://nishant-aishwarya-1234-dev-ed.lightning.force.com/...
Nishant Aishwarya's user avatar
0 votes
2 answers
1k views

I am not able to display the DataTable using Jquery in LWC

Below is my JavaScript Code:: import { LightningElement, track, api, wire } from 'lwc'; import { loadScript, loadStyle } from 'lightning/platformResourceLoader' import getAllOpps from '@salesforce/...
sfdcLearner's user avatar
0 votes
1 answer
32 views

Multiselectpicklist inlineeditsupport double click shows disrupted popup

I have a multiselectpicklist within apex:inlineeditsupport shown on a Visualforce table. When double clicked on it, the pop up window is corrupted as shown. I found that the issue is because of the ...
SMorse's user avatar
  • 47
3 votes
0 answers
2k views

Drag and Drop Functionality using Lightning Component Page in Salesforce

I am here trying to sort table row using drag and drop functionality. Drag and drop in table and the jQuery seems to work when I am running below code in Lightning app but, not working when creating a ...
Dave's user avatar
  • 480
0 votes
0 answers
200 views

Lightning component Jquery data table: After create and edit user need to stay on the same page

I am using Jquery data table in my lightning component. We have a EDIT Button to edit the record. Once the edit is done(suppose i am on the 2nd page), i want to stay in the same page(2nd page). But, ...
Archita patnaik's user avatar
0 votes
2 answers
66 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> ...
Umair Ayaz's user avatar
0 votes
1 answer
116 views

How to deal with Lightning input IDs changing in browser plugin?

I'm writing a Chrome plugin that fills data into some fields in the Salesforce Lightning "New Lead" page. Looking at the elements on the page it seems impossible to figure out which one is the "...
Maddix's user avatar
  • 11

1
2 3 4 5
15