Stack Exchange Network

Stack Exchange network consists of 175 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

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.

2
votes
1answer
29 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" ...
0
votes
0answers
21 views

get div Id inside Apex:pageblocktable using Jquery

I am creating a heirarchical structure between account and contact using pageblocktable within another pageblocktable. I have a div tag that is holding the contacts pageblocktable for each account. On ...
1
vote
0answers
15 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
17 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
vote
1answer
31 views

How to refresh contents of modal on button click? (VF Page)

I'm using a modal that has as input fields object fields linked to the controller. After filling the modal I send the "experience" to the controller and save it and send back an empty singlExp so that ...
0
votes
1answer
158 views

jQuery/DataTable methods in Lightning Web Component - (…).DataTable is not a function

I'm trying to write a Lightning Web Component which uses jquery and datatable static resources and getting an annoying error message without any idea how to solve it. My html code is: <div class="...
0
votes
0answers
19 views

How to integrate Footable responsive table in salesforce?

I am a ux-ui designer I have table data with multiple columns. Now I have to give a responsive view of the same table. As I searched and referred some libraries in which I found footable plugin which ...
-2
votes
1answer
41 views

Cannot read property 'nodeType' of undefined using Jquery 3.1 as static resource in salesforce lightening

I am facing an error while using Jquery 3.1 library in lightening. I am facing this error only when I click on setup or dev console in other words only when I click a button which opens in a new tab. ...
0
votes
0answers
148 views

Manipulate DOM of LWC using jQuery [duplicate]

I know I cannot do: var elements = this.template.querySelectorAll('[id^="fieldName"]')[0]; elements[0].getElementsByTagName('lightning-formatted-text')[0].setAttribute("style:", "myCSSAttribute:...
0
votes
1answer
42 views

Visualforce Action method does not execute in commandButton when call JQuery

I have written a bit of code, that will disable a button in VF page once it is clicked with the help of JQuery. Unfortunately, although the button gets grayed out once clicked, my action method from ...
0
votes
2answers
32 views

Visualforce disable a button with jQuery onclick

I am trying to disable a button after the first click, but for some reason it is not executing. Could anyone help me identify the issue? <script src="http://code.jquery.com/jquery-1.11.0.min.js"&...
0
votes
1answer
198 views

Remove selected values from the multiselect picklist in lightning

I have a lightning component which is basically a filter having two buttons, Apply All and Clear All. I would like to remove the selected values on a button click "Clear All" The filter looks like ...
0
votes
0answers
82 views

Jquery UI draggable

I am trying to implement Full Calendar external events drop in my LWC. There is an amazing example adding FC to SF LWC here: https://github.com/Gurenax/sfdx-lwc-fullcalendarjs What i am trying to do ...
0
votes
0answers
30 views

How to rerender apex repeat in jquery

How to update apex:repeat tag in jquery. Here are sample code: $ = jQuery.noConflict(); $(document).ready(function() { $('#calendar').fullCalendar({ resources:[ ...
0
votes
0answers
60 views

Fullcalendar refetch sources

I'm using fullcalendar with salesforce, and try to refetch sources in calendar that comes from controller. Form contains select option, so on change it must refresh calendar with values (recources ...
0
votes
0answers
24 views

unable to fetch value row wise in page block table using javascript?

<apex:pageBlockTable value="{!WrapperOrder}" onclick="insert_numbers()" var="or" id="pbtable"> <apex:column headerValue="No." > <apex:...
0
votes
1answer
20 views

Getting apex id from Jquery Not working propery

I have apex:inputCheckbox written in apex:repeat where onchange of checkbox i am calling checkedDeviations2 method which will check true or false value and push true values to array and false values ...
0
votes
1answer
22 views

is actionFunction or jQuery init function running first?

I am now responsible for a chunk of code that is big and old enough that no one is certain how it works. I have a few questions I'm hoping you can help with. I have a page called PolicyDetails.page ...
0
votes
1answer
39 views

Lightning Design System - VF Sorting Function

We're adding some additional functions to an older tool which was originally built using the Lightning Design System on Visualforce. The stakeholder is requesting a sort function on a datatable which ...
0
votes
2answers
23 views

Delete button is disabled due to time out issue

I have a page where websites are built by the users. When an user tries to delete the site from the page, the page is throwing error stating there is some issue and the delete button is disabled ...
0
votes
1answer
24 views

jquery tablesorter with apex:tabs

When I include the following scripts, I am unable to load the content of any apex:tab that is not selected by default (clicking on the tab does not show the content of the tab; the tab stays on the ...
-1
votes
1answer
51 views

I want to display error message using javascript.this code is correct or not? alerts are working

$(document).on('click','.f',function(){ alert('Happy New Year'); var status1 = $('.b').val(); alert('status'+status1); if(status1=='open') { ...
0
votes
1answer
261 views

How to display error messages using jQuery? [closed]

$(document).ready(function(){ $('.f').Click(function(){ alert('Happy New Year'); var status1 = $('.b').val(); if(status1=='open') { alert(...
0
votes
0answers
30 views

Show Visual force page in pop-up on click of button which is in another visual force page using jQuery dialog

I want one button like this on case detail page: I have added this button using visual force page. I want to open another visual force page in a pop-up on click of this button. I don't want to use "...
0
votes
0answers
23 views

How To do ReOrdering in Page Block Table rows with inline edit feature as well?

I have a requirement where I need to develop a Pageblock table which should be inline editable as well as the user can reorder the table rows like the drag and drop functionality. This order should ...
0
votes
0answers
35 views

VF Radar Chart labels clipped in rect ( SVG )

Radarseries graph is being clipped in VF page with SVG element <apex:form > <apex:includeScript value="{!$Resource.JqueryFile}" /> <style> .vf-surface{ ...
1
vote
2answers
45 views

Jquery] show doesn't work in some case and click function called several times in VF

Rencently, I've fighten for understanding jquery in VF apex tag. Looks like it can have several problem at the same time. First of all, please check below code. <div class="btn_none" title="...
0
votes
1answer
43 views

VF Load variable from controller

I have custom controller and I pass data from VF to controller and it works. However, when I try to use this variable in controller at VF, I cannot. Why is this happening? VF Page <apex:form> ...
0
votes
1answer
59 views

Division two inputs with JavaScript and display in another Input box [closed]

In my code am showing input value(discount) based on another input value using onkeyup function. Once input value is populated in input field(Discount) I want to divide that value by another input ...
0
votes
1answer
30 views

How to Dynamically update input field value?

When I enter mobile number in mobile field how to auto update in Phone field same Mobile number without submitting any button in page using Script/jquery Here Mobile is Parent(Org__c Object) field. ...
0
votes
1answer
913 views

unable to load jquery into lightning component

I am trying to import jquery 2.2.4 in lightning component but i am facing issue with error code Custom Script Eval error [SecureDOMEvent: [object Event]{ key: {"namespace":"c"} }] I Enabled Stricter ...
1
vote
1answer
59 views

JQuery and Disabled Attributes

I am unable to get this bit of JS to work. I have a few questions: Am I not allowed to put the disabled attribute on the apex:inputField? Am I importing the JS url incorrectly? Is it possible that ...
0
votes
1answer
125 views

How to make jQuery slideToggle() for the list?

I try to make a list of panels with same toggle-effect. But I get just first working element. How can I make it for the list? <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery....
1
vote
1answer
53 views

Initialize jQuery plugins with ui:outputRichText in Lightning component

I have a Lightning component that displays record's content as rich text. The content contains HTML code and I need to make it work with jQuery on click handler and some plugins. The content comes ...
0
votes
2answers
162 views

Disabling/Enabling checkbox should disable Input field

I have a panel that display a text box and a check box. AIM1: I want to grayed out input field if check box is selected. And when page is loaded both should be open to use but once selected ...
1
vote
3answers
421 views

Sorting PageblockTable Columns

I am trying to set up my Visualforce page to allow a user to sort any of the pageblockTable columns. I cam across some JQuery code that is supposed to allow this to occur. I am not familiar with ...
1
vote
1answer
823 views

jquery datatables in lightning component

I have a lightning component which uses jquery datatables.User needs to filter the datatable using Stage picklist and date field.Based on the user selection(Stage and Date) then datatable needs to ...
0
votes
1answer
76 views

How to query and update a Data Extension from an external site using JQuery/Ajax?

I'm putting together an email preferences form and what I want to do is retrieve existing preferences if a record with the specified email exists and add/update a record with the customer's details on ...
0
votes
1answer
202 views

How to display textarea with button on clicking Javascript

I have a custom button on case. On clicking that, it should display a text area with a button in it. I'm able to display it, but at the bottom of the detail page. I want that to be displayed in the ...
0
votes
1answer
31 views

SOQL is bringing users who are not visible to me

I have implemented a searchable drop-down using jquery and visual force. Whenever I start typing a string it will search the database and bring all the matched users. I am using a jquery to call a ...
0
votes
1answer
211 views

jQuery DataTables Checkboxes in Visualforce Page

I am trying to manipulate multiple row selections using jQuery DataTables checkboxes plugin.But having issues in getting selected rows from page to controller ...getting c.selected = false in ...
-3
votes
1answer
58 views

How to pass a JQuery array to Apex controller

I want to jq array in controller class to fetch all data and based on data create multiple data. to make this happen i tried this logic but m not able to convert string to list can anyone plzz ...
1
vote
0answers
444 views

Re-render jQuerys FullCalendar?

I'm using FullCalendar on a Custom Object that shows each record in a calendar and I'm not entirely sure how I can make the calendar re-render depending on the ID I'm passing it. If I select a ...
1
vote
0answers
25 views

My req to add all input fields (created by picklist) value on total field by on blur event

Here in my code i am getting first field value only. <apex:page standardController="Entertainment__c" extensions="ScreenDetailController" sidebar="false" showHeader="false" docType="xhtml-1.0-...
0
votes
1answer
193 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
202 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
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
189 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
1k 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
139 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 ...