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
0answers
14 views

Not working jquerry CSS and JS [closed]

I write the code for jquerry and this is not working, it's not show properly search bar and pagination. Aura Component :- <ltng:require styles="{! $Resource. datatable + '/DataTables-1.10....
0
votes
2answers
19 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 ...
0
votes
0answers
23 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 ...
0
votes
1answer
30 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 ...
0
votes
1answer
74 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: ...
0
votes
1answer
70 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 <...
0
votes
0answers
18 views

How to set value for dependent fields in VF page?

In vf page on clicking new it displays 3 input dependent fields also I am setting the value for those field in the javascript. But still it doesn't setting up? <apex:column HeaderValue="...
0
votes
1answer
27 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....
0
votes
1answer
42 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 ...
1
vote
3answers
281 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 ...
0
votes
0answers
20 views

All Updated records data is not sending from VF page to controller in JQuery Datatable Pagination

i have same issue as below questions asked earlier by others.link provided below. There is no answer to these questions.Could you please help me on this. Record changed data is not sending from VF ...
0
votes
0answers
123 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 "...
0
votes
0answers
34 views

I want to change color of tablesorter vector icon in header. Its grey I want to change it to white

I am using the following css and js --- $(document).ready(function(){ $("table").tablesorter({ theme : 'jui', headerTemplate : '{content} {icon}', ...
0
votes
0answers
422 views

Lightning Web Component input field as date With min and max value ..Other date is not getting grayed out

Hi I need to set my Range in the date picker to be grayed out except my max and date min, but still due to salesforce upgrade user can select the date beyond the min and max value. please help me to ...
0
votes
0answers
53 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(',', $...
0
votes
1answer
44 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, ...
0
votes
2answers
578 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 ...
0
votes
0answers
50 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=%%"&...
0
votes
0answers
25 views

Custom Activity - Need to save value from input field in activity as variable for execution url

I simply want to create a custom activity that pings a URL endpoint. All the activity will do is take a URL that is entered within an input element that lives within the activity iframe and ping it ...
0
votes
0answers
14 views

How to check if the <apex:inputText> required property is set to true or not?

Based upon country selected, I am dynamically setting required property to State InputText tag. When Save button is pressed I am trying to see whether state field is required or not. I tried with ...
0
votes
0answers
785 views

Failed to Load the resource : the server responded with a status of 404 (Not Found)

I am just trying to call vf page by clicking on a button. The page gets loaded properly sometimes but sometimes throws an error by returning the page as "URL No Longer Exists" and in console logs i ...
0
votes
0answers
19 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 ...
0
votes
0answers
71 views

Use this.template.querySelector to access tr to add classList

var trs = this.template.querySelectorAll('tr'); I am trying to access tr from my table inorder to add classList using, for(var count=0; count<trs.length; count++){ trs[count]....
0
votes
0answers
212 views

How to implement check and uncheck in checkbox using true/false value?

I am getting true/false values from my data and want to implement it as checkbox. Checked for true and unchecked for false. I using the render function to implement it and then setting checkbox value ...
0
votes
1answer
20 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/...
0
votes
2answers
460 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/...
0
votes
1answer
25 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 ...
3
votes
0answers
726 views

Drag and Drop Functionality using Lightning Component Page in Salesforce

Iam 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 ...
0
votes
0answers
110 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, ...
0
votes
2answers
25 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> ...
0
votes
1answer
37 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 "...
5
votes
1answer
502 views

How to bypass immutable proxy objects when using an external and old jquery library in LWC

Please note I'm fairly new to LWC and even SalesForce (like barely 2 weeks into it). I'm trying to use SlickGrid with LWC, note that this jQuery lib was created over 10 years ago, and I got that ...
0
votes
2answers
2k views

How to play a video in a pop-up window when the user clicks on the video in an Aura Component

I am using iFrame to play a video, but the video runs on that page/screen itself. But I want that when the user clicks on the video a pop-up/modal screen comes where the user can watch the video. I ...
0
votes
1answer
40 views

Unable to click a button in a pageBlockTable with JQuery

I have a Visualforce SPA that is working well but I cannot display an alert or perform any other operation with JQuery when clicking a button inside a pageBlockTable. I found that using the span tag ...
5
votes
2answers
667 views

How to run “ $('div').clone().appendTo('.wrapper'); ” in LWC? [closed]

I want to achieve this in LWC. I want to call the same HTML content (ex- div, p) multiple times in iteration & append them one below other as shown in above link. I used this $('div').clone()....
0
votes
1answer
907 views

Adding onClick event dynamically via jquery not working in lightning

<!--Required scripts.--> <ltng:require styles="{!join(',',$Resource.FrameworkBase + '/css/salesforce-lightning-design-system.css', $Resource.FrameworkBase + '/css/...
0
votes
0answers
349 views

How to use jQuery Datatable in Lightning Web Component?

I was trying to get jQuery Datatables work in my LWC. I have tried this: LWC is it Possible to Load the JQuery Plugin Datatables in a Lightning Web Component? But I was not able to get it work. ...
5
votes
1answer
2k views

LWC is it Possible to Load the JQuery Plugin Datatables in a Lightning Web Component?

Edit: Solved! I'm struggling to load the infamous datatables.net jQuery plugin into my Lightning Web Component. Even using the most basic example, I haven't had any luck. It seems like there are a ...
1
vote
1answer
2k views

How to get element by class name using jQuery in Lightning Web Component

I am able to load the jQuery library, but it seems that I can't call some simple jQuery function: window.jQuery('.classText').attr('id'); I am trying to get element id by finding the element by ...
1
vote
1answer
4k views

Best way to use Jquery on Lighting Web components

I want to build a lightning web component which involves the use of jquery and bootstrap. The Lighting Web Component involves multiple child components. I was going through the salesforce document on ...
1
vote
1answer
365 views

Can i set variable value into Smart Capture submit option url

I have an cloud page which include smart capture form, which having a checkbox, email, country and address fields. I am setting variable value to true and false using jQuery if checkbox is true or ...
0
votes
1answer
332 views

jQuery append not working on custom lightning component

I have a custom component that sets a table header and body dynamically with jQuery append but it's not working. I have loaded my scripts into .cmp and it's working cause I start my onInit controller ...
0
votes
2answers
511 views

Uncaught TypeError: $(…).attr is not a function

if ($(e.target).attr('id') != 'tabDiv' && $(e.target).parents('div#tabDiv').length == 0 && serviceContainer.has(e.target).length === 0){ $('#tabDiv').parent().parent()....
1
vote
2answers
331 views

Old version of jQuery added automatically to CloudPages

After struggling for a week with a CloudPage that wasn't working as expected, I finally noticed that the editor somehow adds an old version of jQuery to every CloudPage after publishing it. ...
0
votes
1answer
24 views

Visualforce jQuery Works when Hardcoding the Value, but Doesn't Properly Run Within Function

I want to pull the styling (width) of one pageBlockTable and apply it to another pageBlockTable dynamically with jQuery - however I'm not sure why this isn't working... This code runs without any ...
0
votes
1answer
696 views

Error on browser resize after using JQuery in a LWC

I am porting an existing app that uses JQuery to insert HTML into a Lightning Web Component when it is sent a formId via pubsub from another Aura or LW Component. The sfEnv object is for sharing data ...
2
votes
0answers
50 views

Exception in lightning component when loading on mobile app web view using lightningout.js

We have a custom mobile app where it loads the lightning components in hybrid web view through lightningout.js. we found an error message displayed in mobile webview for a component, it contains ...
2
votes
1answer
856 views

Getting error function not defined while it's there

I need to call the jsPdf function, however in the console I am getting genPdf is not defined. Here is my code-- <apex:page controller="GenerateQuoteController" standardStylesheets="false" ...
1
vote
0answers
40 views

Customise Standard lightning Component from custom lightning component

I have a custom feed filter visualforce page created with the help of this link. And then I added the vf page in lightning component with iframe and in case page layout. After the page is loded main-...
0
votes
0answers
18 views

Jquery inside apexpageblocktable

I am having a pageblock table with three picklists. based on one picklist value and text the second picklist would generate the values and based on selected second picklist value and text the third ...

1
2 3 4 5
15