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.

learn more… | top users | synonyms

0
votes
0answers
21 views

Need to Hide the Scrollbar when a modal dailogbox open [on hold]

On click of a button we are opening a modal dialog which contains a Visualforce Page. I want to hide the vertical scroll bar in this page. I tried with Overflow: Hidden also in the dialog code but it ...
1
vote
1answer
83 views

Locker Service - Uncaught TypeError: Cannot read property 'expando' of undefined

Uncaught TypeError: Cannot redefine property: title throws at https://final-bugfix1-dev-ed.lightning.force.com/auraFW/javascript/dpJ3LUIaUXt-CtvrXqBcnQ/aura_prod.js:459:356 I have enabled Locker ...
3
votes
1answer
54 views

How to limit maximum number of characters that can be typed into input field? maxlength attribute not working

I'm using the UIInputField. I want to limit the numbers of characters that can be typed into input field, however, there is an issue. I tried using the "maxlength" attribute, but it doesn't effect ...
1
vote
0answers
43 views

Unable to render charts with jQuery and Flot.js libraries when LockerService is enabled

I've been using Flot.js to render some charts inside lightning components and everything worked fine until the new LockerService update was activated. As far as I researched, many people have had ...
0
votes
2answers
27 views

Enable corresponding command button when corresponding checkbox is selected in pageblock table

I have a requirement where if user selects an apex input checkbox then apex command button should be enabled. These two (checkbox,command button) are in columns of page block table.Below is the code ...
3
votes
2answers
52 views

Map Visualforce Input picklist values

I need to be able to map a Picklist field values in a visualforce page, for use with some JQUERY. Without using VF/SF it would look something like this: HTML: <div id="AU" class="resultHide" ...
3
votes
1answer
59 views

Jquery .val() is giving undefined since Salesforce Summer'16 release

I have a Lighting app which was working fine, before Summer'16 release. There were issues with Jquery 3.0 thus, downgraded to Jquery 2.2.4; When I am trying to access html select element, it is ...
-1
votes
1answer
47 views

Fetching records by using JQuery [closed]

How to display all records which are available in custom object by using jquery plugin(Same as pagination in visualforce page).
2
votes
1answer
35 views

Fullcalendar is not displaying on visualforce page

I have been trying to show events that are accociated with contact on vf page using fullcalendar plugin, I am not getting any error but calendar is not getting displayed on vf page. Controller in vf:...
0
votes
2answers
90 views

Lightning Component jQuery behavior in Summer16

I am having quite a bit of problem with jQuery as of Summer 16 updates. We have a developer edition and a normal dev sandbox and both behave very differently with the same browser with the same code. ...
0
votes
0answers
19 views

Dynamically rerender apex:outputPanel using dynamic id using jquery

I have a requirement wherein there will be different blocks each block elements will have different id's generated dynamically, i am facing issue while rerendering outputPanel dynamically.As first ...
2
votes
2answers
176 views

Attaching jQuery library in lightining component causing an error on Summer 16

I'm using jquery as static resource. <ltng:require scripts="/resource/jquery/jquery-2.2.4.min.js" /> In firefox it throws an error: TypeError: fn is undefined throws at https://light-...
1
vote
2answers
104 views

Error in $A.getCallback() [ReferenceError: $ is not defined]

This is my controller code : doInit : function(component, event, helper) { var action = component.get("c.getpickval"); var inputsel = component.find("InputSelectDynamic"); var opts=[]; ...
1
vote
0answers
29 views

jquery datatable not sorting all records [closed]

I am using jquery datatable show the result. but some reasons i created custom pagination through standard set controller and disabled the jquery datable pagination. While sorting the columns it ...
0
votes
2answers
50 views

Selecting a element by ID dynamically (JS/jQuery) [closed]

I have a list of html elements which I want to target one at a time such as: thisIsAnId1 thisIsAnId2 thisIsAnId3 I would like to select these individually and dynamically with jQuery, however due ...
0
votes
1answer
47 views

Edit Image Before Upload [closed]

I have a requirement like after choosing the file there should be a section below that for edit purpose so that i can crop the image and a button should be there to replace the original file with the ...
0
votes
0answers
39 views

how to get value of id in apex repeat when used inside bootstrap carousel

I have designed a survey page and I have used bootstrap carousel to slide the page which 2 to 3 questions per page using apex: repeat. The id's are getting dynamically generated for each Component ...
-1
votes
0answers
126 views

After summer 16 locker Service update in Salesforce lightning component JqGrid Js is not Working any more

I have used JqGrid in salesforce lightning component, After summer 16 Locker service update it's not working so i have updated my Jquery and JqGrid files to version v5.1.1 with jquery 2.2.4 for ...
1
vote
1answer
29 views

Problem updating only values in current pageclocktable row using JQuery

I have a visualforce page that we use for product selection on our opportunities. I've updated it recently with a couple of Jquery functions that allow users to edit the sales price and auto-calculate ...
-3
votes
0answers
24 views

datatables.net column sorting at footer level

I have the data table in vf page and displaying it using the datatables.net open source. Business require the column(Amount) Sum at the footer level and let me know how to achieve this using ...
0
votes
5answers
333 views

Unable to load jQuery in Salesforce Lightning Application after Summer '16 Release

I have a couple of applications built in Salesforce's Lightning Components. Recently Salesforce released their Summer '16 Major Release this past weekend, on June 4th 2016. Something weird happened ...
0
votes
1answer
25 views

Get input field value on removing the row using javascript

I have below code that has a pay date add button "Add Pay Date" which adds a row having amount, date and retry payment and remove row link. I want to grab the amount field of the row when the remove ...
0
votes
2answers
29 views

Input Field onchange not working

I have an input field in apex given below <apex:inputField value="{!paymentDetails.Amount__c}" onChange="enableLppAmount(this)" required="true" /> Also I have a simple input box <input ...
1
vote
0answers
23 views

Update an uneditable input box [closed]

I have two objects X and Y. They share master detail relationship. X is the master object and Y the detail object. Y object has a field called currency shown on the page and has a button whose ...
1
vote
1answer
45 views

Ability to limit dates/ranges for selection on calendar in a Date field in salesforce

Is there an option to restrict the pass dates and say dates after few months in Date picker in VF Page? Requirement is like a User shouldn't take an Order/Opportunity of past dates and not which ...
1
vote
1answer
30 views

Cross Domain API Call from JQuery

I am trying to submit a HTML form from my VF page to different domain using jQuey syntax similar to below: $('#loginform').submit(function(){ $.post($(this).attr('action'), $(this)....
0
votes
0answers
19 views

Edit mode record displaying last in the list view in jquery datatable

I am using jquery datatable in vf page. I have one issue. when i trying to edit the record, that record automatically going end of the list. Is there a way to stay on the same row. As per my ...
1
vote
2answers
32 views

How can I access VF variablein java script and increment the variable based on href click and then display the incremented variable in vf page?

How can I access VF variable(value="{!articleAttach.downloadscount}") in javascript and increment the variable based on href click and then display the incremented variable in vf page ? <apex:...
9
votes
2answers
111 views

Lightning and Jquery error: Uncaught Error: Access denied for insecure view

I'm just starting out in Lightning (Summer 16 sandbox) and I'm trying to use jQuery, but getting the error: Uncaught Error: Access denied for insecure view in aura_prod.js:1:27. I'm testing in a very ...
1
vote
1answer
58 views

Requested unknown parameter '1' for row 0

I have problem with jquery databale. I am getting error "Requested unknown parameter '1' for row 0". sorting also not done correctly. It is sorting based on the previous columns. below is my code. ...
1
vote
2answers
47 views

Connect PageblockTable and Plain HTML Table in visual force using sortable in Jquery

Im Trying to connect pageblocktable and plain HTML table in visualforce page but I'm not able to do. When Im Dragging element from table 1 to table 3. element is not being appended to table 3. Can ...
0
votes
0answers
27 views

How to take out an account from one list and push it to another

people. I have to change a custom option field of Account with drag and drop. So I made 3 account list(for level1, level2 and level3) bound to 3 tables in the visualforce and make it draggable and ...
1
vote
2answers
49 views

Need to restrict <apex:inputFile> extension using jquery

I am working on Visualforce Site. I am using to attach the attachment in contact. I want to restrict the user to attach only image, PDF or .jpg file at client side. How can I do this using jquery? ...
0
votes
1answer
51 views

how to add if logic in visual force onclick method

I have a visual force component, from a visualforce commandbutton, I am calling modal window with the help of Jquery. How can I call the modal based on certain condition if it pass. Below are the ...
1
vote
2answers
51 views

Find all elements ID starting with or Ending with using JQuery in Visualforce [closed]

I am trying to search all input elements that starts with a partcular set of characters such as 'idAcc' where my VF page has two inputfields with id = idAccFN and id= idAccLN respectively. <apex:...
4
votes
3answers
61 views

How do I reload all JavaScript on the page using oncomplete?

I want to reload all this javascript/jquery. I tried sticking it in a function but it doesn't seem to be rendering properly. <script type="text/javascript"> var $ = jQuery.noConflict(); ...
2
votes
2answers
81 views

Jquery change/click not working with visualforce tags

I am trying to use jquery from visualforce page. Have added the min.js library file too..Below is the code piece sample. I'm able to get 1st alert output i.e. - 'ready to go' inside document.ready ...
0
votes
1answer
31 views

Passing values using actionfunction with javascript not working

I'm trying to filter a page based on two dates, this is my current actionFunction: <apex:actionFunction action="{!modifySoQLBasedOnNewDataRange}" name="passDateValues" status="loadingDiv"> <...
2
votes
0answers
19 views

How to paint a visualforce grid without using APEX controller?

I am reading an array of JSON records from a third party site using jQuery and storing it in visualforce array. This is the jquery code below. $.ajax({ xhrFields: { ...
0
votes
0answers
54 views

Want to onmouseover, onclick, onselect action function on VisualForce component. How can I do it?

<apex:component controller="AutoCompleteV2_Con" selfClosing="true"> <apex:attribute name="SObject" description="SOQL Object to query" type="String" assignTo="{!sObjVal}" required="...
0
votes
0answers
24 views

Error To get values for each row in javascript

Previous Coding : <apex:inputfield value="{!qli.Name}" id="Name" style="width:110px" StyleClass="AutoPin" onmouseover="myfunction();javascript: nicopinClient = '{!(ROUND(rowNum,0))}';"/> <...
0
votes
1answer
30 views

how to select this div class defined deep inside <tr>?

Hello I am working on a long project and in that i have to access a div class defined inside a table <table> <tr> <td> <apex:repeat> ...
2
votes
2answers
52 views

How to display the formula field resource image using visual force in sites?

I had used this formula field to display the image from static resource. IF(Lead_SCORE__c >= 0.90,IMAGE("/img/samples/stars_500.gif", "5 Stars"), IF(Lead_SCORE__c >= 0.80,IMAGE("/img/...
2
votes
2answers
176 views

Jquery selector is not working properly in subsequent loads in lightning component

I have a lightning component which set a div's background color to red in the doInit method using jquery,is added as an lightning tab. When i visit the tab in lightning experience for the first time, ...
3
votes
1answer
65 views

DOM modification feasibility in lightning

I want to implement Auto Compete in lightning, for this I have to use jQuery and jQueryUI and I have to directly modify DOM of component as well. Will it be allowed by the Salesforce ? Will is cause ...
1
vote
1answer
70 views

Using jQuery to add numeric values in Apex:repeat

I have a row that displays numeric values from an apex:repeat. I'm looking for a way to loop through and add the values to display the total. I'm sure this can be done with jQuery and I feel like I'm ...
0
votes
0answers
35 views

How to preserve the state of accordion data-toggle on postback?

I have a Twitter Bootstrap accordion data-toggle binded to a list, in my visualforce page. On page load, the list will be in collapsed state by default. When the user expands it and performs any ...
1
vote
2answers
135 views

Adding Error Message to Input Text using javascript/jquery in Visualforce

My requirement is , I wanna add an error message to field seems like standard error only using apex , I don't wanna make them required. Should be like: Update: Apex Class: public class ...
0
votes
0answers
61 views

how to prevent bootstrap modal for closing if validation error is occur?

I have one bootstrap modal in that modal body i used apex:pageBlock tag and i used apex:inputField tag to bind custom object fields. There is a mandatory email filed, when i click on submit command ...
1
vote
0answers
27 views

How to make html datalist compatible on IOS which is present on my visualforce page?

<apex:inputText list="{!listOfStringElements}" id="userInput" onChange="alert(this.value);"></apex:inputText> In the above code the list attribute generates a dynamic datalist but the ...