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
12 views

Jquery validator with javascript remoting

I have an input field out of several on a form, whose value needs to be validated against database values. I am using jquery validator to perform all other validations and trying to achieve database ...
0
votes
0answers
13 views

Block UI is not working properly

I am using this page code but my page is not getting blocked by jquery for IE 11 but its working for other browser and lower versions of IE. it is showing white page instead of blocking the page. I ...
0
votes
0answers
10 views

How to parse a url using Jquery in Salesforce Lightning App [closed]

I am trying to parse a url ( it is a JSON) so that I query it based on the input using Jquery.
0
votes
1answer
11 views

Close the iframe

In my visual force page I am loading an iframe which show another visual force page inside it. <apex:iframe id="leadIframe" src="/apex/Convert_Lead_Page?leadId={!leadId}" width="700px" ...
0
votes
0answers
21 views

Unable to upsert record using Sforce Connection

VF page: <apex:page standardStylesheets="false" sidebar="false" showHeader="false" applyBodyTag="false" applyHtmlTag="false" docType="html-5.0" > <html lang="en" ...
2
votes
1answer
11 views

jQuery error : Cannot read property undefined

I have created a custom button on Account layout to test popping up a jQuery modal dialog box. {!REQUIRESCRIPT('/soap/ajax/26.0/connection.js')} {!REQUIRESCRIPT('/js/functions.js')} ...
0
votes
1answer
17 views

Autocomplete javascript/jquery on a standard page layout

This is my situation: I'm triying to create an autocomplete function with javascript or jquery in the contact's page layout. The idea is to autocomplete the post code and state according to what ...
0
votes
1answer
15 views

Display Modal Dialog on Custom Button ( Standard Page Layout )

Is it possible to display a modal dialog upon clicking a custom button on standard page layout ? Example of a modal dialog that we want to be displayed is shown below. Do we need to any javascript ...
1
vote
1answer
15 views

Single apex message coming in red but not multiple apex messages [duplicate]

Couple of days back , I had a problem like i have a page message and I want the text to be in red color. after applying some css it worked out well.But if i am showing more than one error ,then only ...
2
votes
2answers
77 views

jQuery: method doesn't load?

Anyone have any experience diagnosing jQuery methods in SF? This seems to me like it should work fine: <apex:includeScript ...
2
votes
2answers
43 views

Hide label of inputfield in visualforce page using jQuery

I can get the visualforce page to hide the input field but I'm unsure how to hide the associated label. How can I hide the label as well? <apex:inputField ...
0
votes
1answer
20 views

Uploading multiple files using REST API of Chatter.

I am trying to upload multiple files using Chatter REST API. I was previously able to upload a file. Now I have to upload multiple files. I got these file names and parameter names in array, as stated ...
1
vote
2answers
60 views

Want to make page message text red

I have a page message and I have a requirement that I want the text to be in red color. I have written some javascript like this: <Script> window.onload=func1; function func1() ...
0
votes
1answer
22 views

Community self registration page jquery

I have the following code in the CommunitiesSelfReg page <apex:outputLabel style="font-weight:bold;" value="First Name: " for="firstName"/> <apex:outputLabel ...
0
votes
3answers
44 views

Jquery included as static resource is not working in visualforce page

I am trying to use jquery datepicker in the page.I have zipped the necessary file jquery-1.8.0.min.js,jquery-ui-1.8.23.custom.min.js and jquery-ui-1.8.7.custom.css and uploaded it as static resource. ...
1
vote
1answer
17 views

Links to download the jquery files

I have to download jquery-1.8.0.min.js,jquery-ui-1.8.23.custom.min.js,jquery-ui-1.8.23.custom.css or the latest files and i have use it in the code as in the link below ...
1
vote
0answers
28 views

when i press and alphabet auto complete will not working on textbox

this is my page <apex:page controller="ContactCheckEditController"> <apex:form id="frm"> <apex:pagemessages /> <apex:actionFunction name="check" ...
1
vote
1answer
23 views

Error in jquery response error

I have the following piece of code var sContactId = jQuery("[id$=contactId]").attr("value"); jQuery("#responseErrors").html("Check"+sContactId); Now, it is not printing the value of sContactId. I ...
0
votes
1answer
29 views

TableSort - Keep Pagination on table rerender

I was just wondering how I would go about saving the current page on a table (jquery TableSort), on a page refresh? ie: user is on page 5 of a table pagination via TableSort. They press a button ...
1
vote
1answer
90 views

Rest API (POST method) with Jquery

So I am using Jquery Ajax with rest API trying to create Account Record using POST method but getting error <apex:page> <script ...
1
vote
1answer
46 views

Google Map in Visualforce Modalpopup

Hy i am new to salesforce and I am trying to display the google map in Bootstrap modal when the row is clicked . The modal shows up but google map does not display but when i click on Inspect element ...
0
votes
0answers
32 views

How to check maximum length for apex:inputtextarea using Javascript?

I use jqEasyCounter javascript library to validate maximum character in apex:inputtextarea. I got one bug whereby it wont count first character at the first time.Mean if we type '1' in text area it ...
0
votes
1answer
37 views

how to do a alert message [closed]

How to alert message the events section and resources section so that I can check whether all my events are being loaded into the VF page or not. $(document).ready(function() { ...
3
votes
1answer
54 views

Visualforce actionFunction not working when used with jQuery

I'm developing a visualforce page and using jQuery in it to identify if the user has scrolled through a div to its bottom (scrolling down is assumed as a confirmation that the user has read all the ...
0
votes
1answer
35 views

While we are uploading file(s) to notes & attachments, I want to show the progress bar( 0% to 100%). Is it possible in salesforce?

For UI I will use jQuery progress bar.Depending upon the uploading speed, progress bar will respond slowly/quickly. How do we estimate the time dynamically and integrate with progress bar?
0
votes
1answer
36 views

Jquery Tooltips showing up at </apex:page>?

Currently working on finalizing a system and to spruce it up we wanted to add tool tips to the name field on a data table to display some information about the product. It works just fine, but there ...
-1
votes
1answer
33 views

Unable to apply styles through DOM for renderAs pdf pages

I have a page .I'm using it as pdf page.I made some css changes using jQuery.Without using renderAs="pdf" tag ,everything is working fine.But if I use renderAs="pdf" tag, the changes through DOM are ...
0
votes
1answer
80 views

Change textarea value using Jquery not working [closed]

I'm using a JQuery to change a textarea input value when a picklist is selected...i can see the value is changed in the screen when i select an item in the picklist but when saving the new value is ...
0
votes
1answer
45 views

Jquery to disable textarea field not working - Load function

I have a textarea which i'm trying to disable using the below code via JQuery read function jQuery( document ).ready( function(){ jQuery( 'input[id$=oprm12]' ).prop('disabled', true); //Works for ...
0
votes
1answer
136 views

How to assign value to a apex variable in visualforce page ,using javascript/jQuery?

<apex:page controller="CurrencyCon" > <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script> $(document).ready(function(){ ...
0
votes
1answer
28 views

Is there any predefined methods to display currency in VF pages different countries?

For USA - $ 1,000,000,000.00 For India - Rs 1,00,00,000.00 I Know this is possible by using java script regular expressions.If we are using java script,we need to write regex for each country.But I ...
0
votes
1answer
102 views

Jquery Bootstrap Modal Appears and Disappears on VisualForce page

The bootstrap modal appears and then disappears when I press on the "Test" button. I've investigated and know that this is due to a jquery conflict but I have no idea where the conflict is. I ...
0
votes
0answers
30 views

how can i do a javascript substring to retrieve all the values and add it to drop down

i have a string var str = [Sys[a="Horizon",b="test"],Sys[a="Horizon1",b="test1"],sys[a="Horizon2",b="test2"]] i need to extract the value of all "a" inside str and add it to my drop down list. ...
0
votes
0answers
53 views

Date time picker from jquery ui

I am using the jquery date time picker in my code for one field.i have uploaded all the files in static resources and calling in my code. In my own developer org it is working fine.but in sandbox it ...
1
vote
1answer
45 views

apex:actionFunction doesn't pass apex:param to controller

Sum up: I need to create a page that list Accounts with a field name Level (NIVEL__c) with 3 options (level1, level2 and level3). The lists let you use drag and drop that can change the account to ...
0
votes
0answers
29 views

How to change the value of a field with drag&drop on list?

I need some help with a VF page: I need to create a page that list Accounts with a field name Level (NIVEL__c) with 3 options (level1, level2 and level3). The lists let you use drag and drop that ...
0
votes
0answers
30 views

Dynatable Jquery plugin not setting in table in Visualforce Page

I am trying to get a response from Salesforce Analytics API and display as report. Using some sample code help i was able to retrieve the report and display them in table format (as of now i have just ...
0
votes
1answer
40 views

How to post the json values to salesforce?

$( document ).ready(function() { $("#bntSubmit").on('click', function (e) { // Initialize the object, before adding data to it. // { } is declarative shorthand for new ...
0
votes
1answer
23 views

TableSorter/JQuery taking too long to Load with 100+ record Table Size

I have a jQuery tableSorter table, where it takes a LONG time to load, 3-5 seconds, after the page loads, leaving the user seeing an unformatted pageblocktable, until the jquery 'kicks in'. Records ...
0
votes
1answer
90 views

Jquery Datatable with delay

I'm trying to use JQuery DataTables with Salesforce JavaScript Remoting. Is there a way to delay datatables initialization? I want to do that otherwise datatables think there are no rows in the table. ...
1
vote
1answer
50 views

Is is possible to loop over records in a repeat component using javascript/jquery?

Lets say I have a table of records and a button to update multiple records in the table on a visualforce page. I want to check the values of each record in the repeat block, and grab each records Id ...
1
vote
3answers
124 views

Make an apex:image appear conditionally with apex code

How can I make the "eye" image's visibility conditional with apex code? When the eye image is clicked, it updates a checkbox (Seen__c) on the associated account to true. I want the "eye" image to ...
1
vote
2answers
42 views

JQuery: checkboxes wrapped in apex:repeat

I would like it so that when someone clicks on a '.propertyRateTable' element, ONLY the checkbox next to it becomes checked (See image for reference). The code below simply checks every checkbox (As ...
1
vote
2answers
71 views

Apex: HTML Button + ActionSupport calling the wrong Method on click

So this is a weird one. I have two buttons in a Table Column. They are HTML buttons with action support. When I click on the first one, it runs the second button's Method. When I comment out the ...
0
votes
1answer
62 views

What's the best way to implement a refresh button on VF page for jQuery datatables?

I have a VF page that creates a datatable using jQuery datatables plugin. I followed the example below. http://www.verticalcoder.com/2014/11/21/datatables-in-visualforce-part-1/ . I'm trying to create ...
3
votes
1answer
312 views

Filter by multiple conditions / drop-downs using DataTables - Table plug-in for jQuery

Using this example from http://www.verticalcoder.com/2014/11/21/datatables-in-visualforce-part-1/ I implemented a Visualforce page that creates a dropdown and filters records in the datatable based on ...
0
votes
1answer
42 views

Add styleclass to selectlist same as the style of the first select option child on page load

I have a selectlist with selectoption styled individually. I want to show the background color of selectlist same as the first child option on page-load. I've this code which is not working on ...
0
votes
1answer
30 views

unable to access Jquery Plugin color picker method in VF page

I've downloaded a jquery Plugin color picker Jquery Plugin and added it in static resources. <apex:includeScript value="{!URLFOR($Resource.ColorPicker, 'ColorPicker/js/jquery.colorPicker.js')}" ...
0
votes
0answers
29 views

Posting an AJAX Quote Form to the SF REST API in jQuery

I have an AJAX form meant to submit JSON to the REST API and retrieve the response for display on the page. The submission I have is as follows: function submit_form(){ //callback handler for ...
0
votes
0answers
14 views

How do I create a visualforce page with a container that has a 3x2 grid within another container?

This is what I am trying to accomplish. I am assuming I should use an apex:panelGrid for the 3x2, but I'm not sure how to contain it within a big rectangle with a thin border (as pictured) and then ...