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

1
vote
1answer
14 views

Bootstrap table sorting not working for inputfield

I have used a Bootstrap datatable to show records in a tabular format as shown below And here is the simple code for the above page <style> input[type="text"] { display: ...
2
votes
1answer
18 views

Does tablesorter( plugin-jquery ) work on apex:inputfield?

I am trying to imlement tablesorter but its not working properly on apex:inputfield. Here is my sample code.. <apex:page standardController="Lead" recordSetVar="leads" tabstyle="lead" ...
3
votes
1answer
28 views

Streaming API: subscribe callback function never called?

I've implemented a simple streaming api code for subscription to the push topic using a callback function. It's realy needed because the official CotemD documentation expressly points to it: ...
1
vote
0answers
28 views

How to Optimize the loading time in FUllcalendar

I have used the below code to show the calendar but it takes too much of time load the calendar. Code: $('#calendar').fullCalendar({ events: [ <apex:repeat ...
1
vote
0answers
10 views

Getting sales force user Information Using Identity Service

Using OAuth2 and REST with a custom created Remote APP, I am not able to get user Information using sales Force.com Identity Service by using jqury ajax call, however when i use postman of chrome to ...
2
votes
2answers
55 views

Add Visualforce components using jQuery

I need to add VF elements dynamically on the client side (cannot use Apex due to page structure). I am looking for something like this: $("#myid").append("<apex:outputText id='abc'>My ...
4
votes
2answers
78 views

jQuery & Angular in Salesforce

I am very new to Salesforce development coming from jQuery/Angular framework. Can I develop UI containing angular/jquery in Salesforce ?. I am basically trying to learn Salesforce via an approach in ...
1
vote
1answer
32 views

pagination not happening in vf page [closed]

I am trying to paginate using footable plugin, but somehow pagination is not happening. Can anybody help me out - <apex:page sidebar="false"> <head> <meta name="viewport" ...
0
votes
1answer
22 views

Hiding section not working properly in jQuery

I have a page where in I have two tables. I need to make the tables appear and disappear on button click. I tried to achieve through jquery. But both tables always appear on button click. However on ...
0
votes
1answer
30 views

DataTables Table jQuery

I was going through the site http://www.datatables.net/.There is an example which is shown in the site. When this particular example is seen in TAB or mobile the columns are sorted out like below - ...
2
votes
1answer
40 views

JSON for Autocomplete functionality in VF

I'm trying to get my autocomplete functionality to work in my VF page for a TextField. I need to obtain the List of a custom Object from my controller (with the name and the ID of the record). I use ...
0
votes
0answers
11 views

Chrome and Console View - Quick Links at the top of each record display in modal window instead of in the appropriate frame

I use Chrome v41 to work in the Salesforce Console. When I click on any particular record type's quick links at the very top of the record (the ones that appear in modal windows that span the width of ...
1
vote
2answers
44 views

How to call Jquery on On Click event

Unable to Call jquery Function on Onclick Event. <apex:page > <apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" /> <style> ...
1
vote
1answer
44 views

POST /validateEmail - How do we utilize this function with only JavaScript/JSON/JQuery?

I have a need for using the POST/validateEmail to do client side ajax validation on an email address prior to submitting data from a webform/webcollect to a data extension. source: ...
1
vote
1answer
35 views

Change the Color of Bubble on OnClick Event

I need to Change the Color of Green Bubble on Onclick event and when User Click on other Bubble the Color of bubble which was Clicked earlier should be the Older one. Any way to Achiev this. Tried ...
2
votes
1answer
31 views

How to get the Id from the standard pop up window?

I have a page with Contact look up icon and when clicked on it shows up the standard salesforce lookup pop up window. When this happens, I see that the below fields are auto-generated: <input ...
0
votes
1answer
19 views

To populate field with same Label

Hello All i have fields those are coming from different different field set(they can have common fields) and i want to have a feature to copy the values of fields to the similar fields(common fields) ...
0
votes
0answers
13 views

Changing Pie Graph labels in visualforce page with jquery after it has been rendered

I need to display a pie graph with the slices the Opportunity Stages. I then want it to display how many records are in a given stage including zero values. So what I have done so far is pulled the ...
1
vote
1answer
42 views

How to select a row in pageblock on click?

I have a pageblock table where in I must be able to select one or multiple rows on clicking the row itself. On clicking a button, these rows must be displayed below the table in another table to show ...
1
vote
1answer
51 views

Adding jQuery plugin as static resource

I am a noob to jQuery and VF in general...so bear with me :) I am trying to replicate the example given in the below link for implementing a client level sort functionality for my ...
0
votes
0answers
34 views

Jquery view issue

I am using jquery data table in my vf. when the page loads for the first or when we refresh the page the vf performs normally and the data table is visible as normal. However when i perform some ...
2
votes
2answers
60 views

After rerendering, retrieving elements in jquery seems stopped working

I am using apex:dataTable and implemented some code to do the pagination. But instead of using apex:commandButton to go Next and Previous, I am using pure html tags as listed below in purpose of ...
1
vote
1answer
53 views

Gotchas’: Using jQueryUI to make popups in Visualforce pages

Most of the times we face issues while we integrate jQuery UI popups in Visual Force page. I was also struggling a lot as i was facing the same issues. And I found one article which helped me in ...
1
vote
2answers
62 views

DatePicker Issue

I have two text field: One normal text field that accepts numbers. <apex:inputField value="{!FinancialAssCont.Down_Payment__c}" styleClass="form-control downpaymentAmount" ...
0
votes
1answer
52 views

How to re-use the chatter follow link

GENERAL IDEA I'm trying to search for a way on how to reuse the follow link (please see image below): Brief description of planned usage: The follow link is the first field in a table If the ...
0
votes
0answers
45 views

datatable tabletools in salesforce

I am using datatable tabletools from jquery in salesforce. Just a sample example to test out to such that i can implement these feature for my custom view and data. Leaving export to ...
0
votes
0answers
18 views

Changing the table layout according to the number of characters of a cell

I have formatted the following tables, as it's shown in the figure below. Actually the png describes the usecase when one of the cells, is really long. I would like to adjust: the layout of the ...
1
vote
1answer
149 views

AutoComplete input text based on SelectList selected value

I am implementing AutoComplete for InputText. The problem is i am not able to load the AutoComplete InputText based on selected value. I have used the Jquery for AutoComplete. It works well if i ...
2
votes
1answer
130 views

Jquery is not loading in force.com edition

I have created calender using jQuery lib please find the code below: It's working fine in developer Edition. But same code if I copy in partner enterprise edition it's not displaying information: ...
0
votes
0answers
48 views

arshaw Jquery full calender not working in force.com enterprise edition

I have used this http://www.codebycody.com/2013/06/create-calendar-view-in-salesforcecom.html to integrate jquery calendar.. It's working fine with developer edition but same code if i copy in ...
-1
votes
1answer
95 views

How to put values into variables using Javascript or JQuery

So, I have a certain amount of divs generated in a PHP file using a "for loop". They all look this way: <div id=book1> <img scr=headerX.jpg> <img scr=bodyY.jpg> <img ...
0
votes
0answers
40 views

Salesforce communities URL hack

Below is the VF page for which we are performing URL hack and overriding the new account button with the below page.The button is working fine but when I use the same button through communities .ready ...
0
votes
1answer
20 views

How to hide a Text field with jQuery using Static Resource

I have written a jQuery in Static Resource to hide the below highlighted "Revise Opportunity" button and its working perfect. But i am unable to hide the "Inflight Note" Text field. Can anyone help/ ...
0
votes
1answer
35 views

Custom Button with JQuery

I have a custom button (which is a list button) and I'm requiring JQuery by the following code: {!REQUIRESCRIPT("//code.jquery.com/jquery-1.10.2.js")} It's working fine! The only problem is that ...
0
votes
1answer
81 views

Pass a param updated via jQuery to commandlink in a pageblocktable

I have a pageBlockTable with various columns including one for Qty. I've added two commandbuttons that work via jQuery and allow the user to increase or decrease the Qty shown. VF Page ...
1
vote
0answers
27 views

Validations problem in javascript

My below is working to show of all the required fields but unable to submit the form once i get all the required information. function validations() { var t=0; ...
0
votes
1answer
37 views

Typical Question Sandbox code is working Production not working uncheck all checkbox

visualforce page: <apex:includeScript value="{!URLFOR($Resource.JqueryA, 'js/jquery-1.11.1.min.js')}" /> <apex:includeScript value="{!URLFOR($Resource.JqueryA, ...
1
vote
3answers
247 views

How to pass a JavaScript array to Apex controller

I am trying to pass a Javascript array to my apex controller. I know you can pass a string from Javascript through the use of hidden input field and apex action function (and I have used it in the ...
0
votes
2answers
97 views

taking rest response value from javascript to apex class

I'm getting Raw response for reports using rest API. Here is the code: <apex:page controller="ApiReports_cls"> <script ...
1
vote
1answer
49 views

How do I use jQuery to get the id of a lookup field when the field is changed?

I am using jQuery to try to get the id of a lookup field (Account_Contact__c) when the user selects a different value. Here is my code: var j$ = jQuery.noConflict(); function ...
1
vote
1answer
636 views

Open jQuery Dialog from Custom Button

We have a custom button on the detail page of the case designed to open a modal dialog popup, however receiving the $g(...).dialog is not a function error message. I've searched around the web and ...
1
vote
1answer
42 views

what is the proper syntax for getting an element out of a jquery array? [closed]

I am new to javascript/jquery. I am having a lot of trouble understanding how to write the proper syntax for this. I would appreciate any help. in apex you would do this : Public ...
2
votes
1answer
57 views

Does any one know how to pass a salesforce controller variable to a jquery method?

I need to pass a string variable that is in the controller to a jquery method that is on the visualforce page. Here is a dummy code of what i would like to do: $(document).ready(function(){ ...
0
votes
1answer
136 views

fancyBox jQuery for video pop up not working

I have written code so that i can embed videos in a visualforce page. However, I want the video to pop up in an aesthetic way. For that I am using fancyBox, which is not working. The details regarding ...
0
votes
0answers
44 views

Unsaved data handling in visualforce

I have a datatable displaying a list of records with pagination. Datatable supports inline-editing. Now i want to display warning popup if there are some unsaved data when the user tries to navigate ...
2
votes
2answers
56 views

Inline editing last updated field is not getting saved

I have a pageblock table where i can do some inline editing. But the last editd field is not getting saved. I need to explicitely click elsewhere after editing the field and then click on save and it ...
2
votes
1answer
127 views

Dragging and reordering dataTable/ pageBlockTable rows

I have a dataTable which is populated by the a list of Sobject. I need to be able to drag the rows of the table and reorder them. I have a HTMl table code snippet which does this using jQuery. ...
1
vote
1answer
99 views

Uncaught ReferenceError: Ext is not defined , Uncaught ReferenceError: chatter is not defined

I have used Chatter Feed component on my visualforce page . Example : The problem is that sometimes the chatter feed is loading and working completely fine while sometimes it shows the below JS ...
1
vote
4answers
224 views

Best practice for JQuery to hide/show a section with required fields

I'm building a wizard where I've a page splitted in some sections. One of them is shown/hidden based on the value selected for a picklist of another section, by using JQuery. But, the conditional ...
1
vote
2answers
64 views

Jquery - <apex:form> unexpected behaviour

I've this snippet of code, pretty working. But trying to delete the comments between <apex:form> , I notice an unexpected behaviour : the page reloads when I click any button, making it ...