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
1answer
34 views

Error in value access

<apex:pageblockTable value="{!pub}" var="a"> <apex:column headerValue="Pub-ID"> <apex:outputlink value="/{!a.id}">{!a.Name}</apex:outputlink> ...
0
votes
1answer
24 views

Refine jQuery selection & Javascript action

I have this jQuery in my Visualforce page that adds some styling and updates the value of a pick list field in the row when a selectCheckbox is checked. <script type="text/javascript"> j$ = ...
0
votes
1answer
15 views

Value passing from Tab to Script

I am trying to call the value called 'a.id' in my script functions <apex:column value="{!a.id}" headerValue="Publication SFDC Id" id="ID"/> <script> ...
3
votes
1answer
25 views

Calling a Controller Method from Jquery Mobile Script

I have written the following code in salesforce <apex:page Controller="Publication_Tab_Controller" showHeader="true" tabStyle="Publication__c"> <head> <!-- Include meta tag to ensure ...
1
vote
1answer
30 views

Visualforce: cannot get forcetk.js to work: 401 Error

I'm trying to get a simple example to work with forcetk.js, where I call an apex rest service defined in the same Sandbox as the vf page below. I've tried different flavors of the URL, but the error ...
1
vote
2answers
27 views

Cannot call apex rest service from jquery on Visualforce page

I'm new to rest services in Salesforce. I've defined the following rest service in Apex: @RestResource(urlMapping='/mediaPlanDetail') global with sharing class MediaPlanDetailService { @HttpGet ...
0
votes
0answers
33 views

Picklist list values not getting selected in the text box?

I have used JSON parsing to autocomplete values in the text box. Drop down values are listed below the text box. When I select a respective value, its value not appearing in the text box... Please ...
2
votes
2answers
25 views

Integration of Salesforce with JQuery Mobile

I have created a visualforce page along with the controller. In the page I have created a JQuery Mobile popup which appears on the click of a button. The popup consists of another button which is ...
-2
votes
0answers
19 views

Issue with DataTable Row grouping add on to display account related contacts in visualforce page

I'm able to display only Account Name as header and onclick of it ,it's showing all contacts but now I want to display few columns from account in one row on click it should show it's contacts.With ...
1
vote
0answers
21 views

document on load JQuery confusion

Can someone explain the difference between $(document).ready(function($){ }); and $(function(){ }); All of the info that I have seen online says that they are identical... however, when I am ...
0
votes
1answer
24 views

How to develop the Matrix report in Visuafore page

Can we achieve the below by using VF page or some external jQuery widget. I have tried with Gant or dxhtml queries. but no works.
0
votes
1answer
23 views

CometD Error: Cannot read property 'init' of undefined

I am having a little fun and working with the SFDC Streaming API... it was working fine yesterday, I was able to subscribe without any issues... however, now I am getting this error: Cannot read ...
0
votes
1answer
19 views

Dynamically change of Min and Max in JQuery using Salesforce

I have developed Range Slider in visualforce which contains static resource which contains jqury. I am using the same static resource and create another Range Slider but this time i want to change MIN ...
1
vote
1answer
21 views

Jquery onchange event not triggered in dependent controlling field

We have a customized opportunity view page that overrides standard page in our SF. And now we need to add a controlling dependent list to this page: Controlling field (picklist): Re-sign term ...
2
votes
2answers
51 views
+100

Respecting sharing settings when using jquery post

I was looking at this post : http://www.oyecode.com/2014/02/how-to-salesforce-rest-api-from-browser.html Lately many developers are looking into jquery/ javascript/ ajax based approach to make UI ...
0
votes
1answer
33 views

Range Slider is not Working

I am creating a range slider is not working Saleforce. I got code from this side http://ghusse.github.io/jQRangeSlider/documentation.html#bindingEvents and i am sharing my code with you. ...
1
vote
2answers
39 views

jQuery UI based JavaScript not working in Salesforce

I am trying to develop Range Slider in my VF page but it is not working. I am sharing my code with you.I am trying range slider which will show values on change when slider will move it will show ...
1
vote
1answer
11 views

Auto expand the treeview (hierarchy)

EDIT: After looking at the developer console I found that its driving the two CSS class showContacts & hideContacts How can I auto-expand the treeview as soon as it clicks on the parent record? ...
0
votes
1answer
24 views

jsTree - Rename - Characters length [closed]

I couldn't find a way to limit the characters entered after the Rename button is clicked. I want to limit the text length by 10 characters. If the User enters 10 characters, s/he shouldn't enter any ...
0
votes
0answers
42 views

Why do I get a Visualforce error when pressing enter key in html input textbox?

I have an input textbox with a jQuery button. When the button is clicked, I get the desired output. When the user enters something in the textbox and presses 'Enter' then I get a visualforce error. ...
0
votes
0answers
21 views

Tab changes on click but the header goes hide

I have an issue here with my visualforce page . Here i have 3 tabs. Here if i click on the next tab my next tab comes but the header of the page goes hide. Leeme just show you the other tab. I ...
0
votes
1answer
29 views

Switch between tabs on click.

I am working on a community and on my VF Page i have different tabs. I have all the tabs in save vf page and i divide them using div and IDs. . <div id="tabs"> <div ...
2
votes
1answer
40 views

Active a tab when a button clicked without reloading the page

I am working on a salesforce community. I have 8 different Tabs but instead of dividing them into different pages i wrote the entire code in singe page. <div id="tabs"> <div ...
3
votes
2answers
17 views

How to remove prefix of apex:form from elements?

I amworking on a Visualforce Project where I need to access elements from a form via jQuery. The problem is that the elements always get a prefix like j_id0:j_id4: in the ID. Therefore I can't access ...
3
votes
1answer
20 views

Dynamically resize specific iframe on page layout

I have 2 visualforce pages that will only display data if a certain condition on a Campaign is met. Otherwise the space I allocate for them is just whitespace. I have looked at this question and have ...
2
votes
1answer
54 views

Enabling jQuery Draggable for a Lightning Component

I am struggling with how to get my component to render a list item that leverages a jQuery library. I have found that when I troubleshoot in the JAVA script console, I can get the function to work ...
2
votes
1answer
42 views

Call Visualforce Component function from another Visualforce Component

I need help: How to call Visualforce Component function from another Visualforce Component. Below are Code details. i.e call 'display.component' click function from 'view.component' 1st Component: ...
2
votes
1answer
41 views

JQUERY - Unable to get it to work

This basic JQUERY isn't working...Can someone see what is that I'm missing? <apex:page controller="newOpportunityController"> <script ...
6
votes
1answer
139 views

Jquery not initialised after rerender

I'm build an Account drag and drop UI using Jquery. Here is the code <apex:page controller="AccountListViewController" > <apex:stylesheet ...
1
vote
1answer
34 views

Loading an external url html

I have a button that goes to a page and that page generates a url to copy and paste. Is there a way that I could load that page and access the html to parse out the url and go directly to that url? ...
0
votes
0answers
15 views

ExactTarget REST API - using jQueryto get accessToken

I am trying to get an access token using jQuery. I get a cross origin error but the network transaction is 200 OK. I know this question has been asked before but I cannot comment on it as I am new to ...
2
votes
1answer
87 views

Visualforce updated values not being displayed after rerender

I'm attempting to create a visualforce page that has an updateable column within a pageblocktable. When the column value is updated and the page is rerendered the value displayed is the original ...
0
votes
1answer
38 views

Custom 'Submit for Approval Button' on Lead not Working

We replaced standard Workflow button(submit for Approval) on Lead Object with custom button that validates the fields with in Lead and gives a pop up Message if the fields are not populated. Was ...
1
vote
0answers
67 views

Calling a web service from a Visualforce page using jQuery Ajax

I want to call a web service using REST API from the Visualforce page. Below is my code. <script type="text/javascript" ...
0
votes
1answer
50 views

how to overcome jquery conflict while using apex:tabPanel [duplicate]

I was using apex:tabPanel in my viusal force pages <apex:page > <c:Enhancetable targetPbTableIds="tableRecords" paginate="true" defaultPageSize="15" ...
0
votes
2answers
39 views

How to Disable the buttons when I clicked another button?

We have requirement when customer click on save button, and then save & close and cancel buttons should get disable. I have tried this but its not working. Please help me VF Page : jQuery ...
1
vote
2answers
66 views

jQuery Toggle Animation to work only on selected class

I am having trouble using the jQuery Toggle effect to show only the selected one's details. I have a view that consists of all Case Owners tabs. And under cases owners are the dropdowns of their ...
0
votes
0answers
25 views

How to use jquery TableSorter with a fieldset?

I can successfully use the jquery tablesorter in a dataTable with columns explicity enumerated: <apex:dataTable value="{!displayedAttendances}" var="att" styleClass="tablesorter" ...
2
votes
2answers
64 views

how to overcome jquery conflict

I have a table which displays list of records.I want to achieve sorting and pagination function for this.As shown in figure i have achieved pagination and sorting.But this is affecting my tabs which ...
2
votes
1answer
58 views

Visualforce and slickgrid saving changes

I needed to create a quick-edit, excel-style page for my users and based on recommendations here and elsewhere, I chose slickgrid. Now I have a visualforce page with a slickgrid implementation, that ...
0
votes
1answer
50 views

Canvas signature capture issue on page scroll

We tried to integrate the multiple signature to VF page, but we have some issue when we scroll the page for signature, the signature part not working properly. Can anyone please help me out in this? ...
1
vote
1answer
46 views

400 Bad Request Posting Chatter Message

I'm trying to reply to a private conversation in Chatter via the REST API, by making a POST request to https://<<instance>>/services/data/v33.0/chatter/users/me/messages using jQuery's ...
0
votes
2answers
65 views

make inputfield active on click of radio button

I have one radio button and one inputfield..I am trying to achieve something like.if i click on the radio button , the input field should get active and user should be able to enter the value..If the ...
0
votes
1answer
69 views

Error : requested an insecure script 'http://code.jquery.com/jquery.min.js'

Following is my javascript/ jquery which runs independently when i save it in text file as html but i am not able to make it work in my VF page. I am getting the following error when i hit F12 Error ...
2
votes
1answer
100 views

JSON String to custom object list

Here is breakdown of what I am trying to achieve Read List of questions from a file uploaded by user Convert it into JSON format Create a List of custom object Insert this list into database I ...
10
votes
2answers
108 views

How can I use jQuery 1.11+ while also using Streaming API?

Original Question: What's the lastest version of CometD that can be used with Streaming API? In Salesforce Streaming API documentation, it says Salesforce uses CometD version 2.0. But in their ...
3
votes
1answer
81 views

jQuery not reloading properly after switching to new tab in Lightning Component

I have used jQuery to detect changes in a textbox in a lightning component.I am able to detect the change first time it loads the library.But when I switch to a different tab and comes back in, it ...
0
votes
0answers
66 views

Help implementing jquery datatables with VF remoting using fieldset

My original problem: I have a VF page which is embedded into a standard page. This page takes some time before it loads, the reason is with the data size and view state. I needed some mechanism to ...
3
votes
3answers
89 views

Reset the current form without reloading page?

In our scenario, we have a form of several apex:inputfield elements and some other input fields. So they have a default value coming from database. We have implemented a cancel button which currently ...
2
votes
1answer
51 views

jquery isn not letting apex:tabpanel functionality to work

Hi i have following code where every thing is working fine... but when i try to add <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"> </script> this ...