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
votes
1answer
20 views

Visualforce : jQuery Datepicker not showing

I am attempting to use jQuery to show datepicker on a VF page. I used an HTML5 input tag before and that worked in chrome but not in IE. If there are better ways to show the calendar in both chrome ...
-1
votes
0answers
15 views

Passing value to a method which is called from a modal window [on hold]

I have a page block table which displays a list. There is a jquery modal window which appears on the click of a button which in turn calls a method in the controller. I want to pass the number of ...
-1
votes
0answers
8 views

Ajax callout from latest salesforce1 version not working

I am making an ajax callout to a google maps api(URL), from a VF page that is built for salesforce1 (iPad). The api I'm using is reverse geocoding. When I debugged, the $j.Ajax function was not ...
0
votes
0answers
45 views

bootstrap dropdown disappear after toggle if a tab panel exists in page [on hold]

<apex:page id="page" showheader="false" standardstylesheets="false" showchat="true" docType="html-5.0"> <apex:includescript ...
1
vote
1answer
40 views

Problem with using jquery sortable with data rerendered

when I am using Sortable with <apex:page standardController="Contact" extensions="extContactList"> <link rel="stylesheet" ...
1
vote
3answers
52 views

get the label from apex:outputlabel tag using jQuery

I am actually trying to get the associated label of a apex input tag to do some javascript validations. Here are my tags below: <apex:outputlabel value="Account" for="NewContactAccountSelect" ...
0
votes
1answer
22 views

How can I use jquery validate plugin on vf page to validate only the fields that are rendered?

I'm using jquery validate plugin to validate a form on a visualforce page view the form is here . The first field renders either one set of fields or a completely different set of fields, so I think ...
0
votes
0answers
18 views

sfdc sites:Does anybody know why this error is coming?

Below errors are coming: Uncaught TypeError: Cannot set property 'value' of undefined(anonymous function) @ pkb_liveAgentIframe:969f.extend._Deferred.e.resolveWith @ ...
1
vote
0answers
34 views

Status of jquery.ajax from Server-Side Javascript

Please see the following codes: 1. Front-side AJAX request code: function addAjax(emailIds, valObj) { var jqxhr = $.ajax( { method: "post", url: ...
0
votes
1answer
32 views

get picklist values of custom field into customButton javascript

Is it possible to populate the custom field picklist values into a custom button javascript code? Any pointers on how to use Schema.DescribeFieldResult class in javascript? I am actually working on a ...
0
votes
1answer
35 views

Remove text after clicking in the textbox? [closed]

When you click on the textbox in order to make input data, I want to remove the previous text automatically for first time only?
0
votes
0answers
31 views

how to hide menubar from a browser without refreshing a page using jquery

I need to hide the menubar from a browser onloading of a visualforce page(onclicking of a custom tab). By using window.open() in jquery we can hide menubar but the page will open in a new window. I ...
0
votes
1answer
59 views

How to replace or escape ' &amp; ' with ' & ' in Auto complete text in Jquery

I am using an autocomplete component in my VF page. And the Problem is when i am hovering / Selecting the record names with Special characters, the Input text box is displaying Encoded Record name as ...
1
vote
2answers
30 views

jquery show not working with visualforce page

Sorry for inconvenience. I tried to format the code but why i dont know here i am not able to post properly. i have two pageblocks in visualforce page. 1st displays by default, 2nd pageblock should ...
0
votes
2answers
39 views

Jquery is not Working

I want to change a value of one inputfield dynamically based on another inputfield,if i enter some value it should reflect it into another field. I added my jquey but it is not working. <apex:page ...
0
votes
0answers
13 views

Integration of a check box within a custom modal window

I have written the following code in a visualfroce page under a script tag. Now within the alert I want to integrate a checkbox as well as pass its value in the remote action method. Is it possible to ...
0
votes
0answers
18 views

Create tabpanel inside tabpanel in Visualforce Page

I am developing UI in Visualforce page. I need to develop Tab inside the tabpanel. Child tabs of tabpanel is not working . Hierarchy is - ParentTabPanel > Another Tab panel in one of tab > 3rd tab ...
1
vote
1answer
35 views

jQuery If statement not rendering [closed]

Trying to add a condition to this jQuery so that if a checkbox is selected and then selection is removed, the selection class will be removed but it isn't working. What am I missing please? j$ = ...
0
votes
0answers
28 views

Jquery.dataTable() and VF table width

<table cellpadding="0" cellspacing="0" border="0" class="display" id="childTable" width="100%" > <thead> <apex:outputPanel layout="none"> <tr> ...
0
votes
1answer
42 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> ...
1
vote
1answer
29 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
17 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
49 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
2answers
66 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
48 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
71 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
36 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 ...
1
vote
0answers
28 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
31 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
57 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
37 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
40 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 ...
3
votes
2answers
61 views

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
43 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
54 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
29 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
0answers
51 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
28 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
51 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
82 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
34 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
41 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
87 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
57 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
47 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
210 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
62 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
21 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
108 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
74 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 ...