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

Unable to hide a rich-text input field with jQuery

I am trying to make a pageblocktable that can be edited when clicking an "edit" button. I tried to initially use inlineEditingSupport, but it only worked for text. If I tried to edit an image or ...
1
vote
1answer
22 views

Can I use this method as the argument in a ternary operator?

I'm using the jqGrid plugin for jQuery. In the jqGrid function, I want to pass in a value for the width, but I want to pass in the value depending on the outcome of a method in my controller. ...
0
votes
0answers
21 views

How to access cordova in visualforce page directly using static resources

I am trying to access camera from my visualforce page . For that i downloaded cordova library and referenced into my script path . i added camera plugins into my script but still i am unable to access ...
2
votes
0answers
21 views

Amscript/JQuery conflict

I have a landing page that has a conflict because we are referencing the same content via Ampscript and via JQuery, I'll preface this with saying, I have not put in the full code, because I am hoping ...
2
votes
1answer
39 views

Use jQuery to bind to apex:apex:commandButton onComplete event

Is it possible to bind to the onComplete event for an <apex:commandButton/>? Instead of using the following format: <script> function myOnComplete(){ // do onComplete stuff } ...
0
votes
0answers
12 views

Salesforce Calander not working on Jquery Popup

Facing the following issue: a) If I select 'Today', the calendar does not get disappeared immediately. You have to click outside then only it gets closed. b) Once I select 'Today', the drop down for ...
2
votes
1answer
29 views

Why keyboard not work for text field when Visualforce page in Salesforce1 is using JQuery to set cursor in text field?

When I use this VF page. <apex:page controller="VialEntryController" docType="html-5.0" showHeader="false" sidebar="false" standardStylesheets="false"> <apex:stylesheet ...
1
vote
1answer
49 views

jquery table with search and sort functionality

I already have apex page block table on my vf page. But need some jquery plugin to sort the columns as well as search the table itself. Can anyone point me to an article which gives me step by step ...
0
votes
2answers
36 views

Hide a field as soon the page is visible?

I want to hide this field as soon as the page is visible to the user. However, I want that field to be shown again based on my condition. The condition works fine but when the page shows up it is not ...
1
vote
1answer
62 views

How can I hide & show Lookup in Visualforce Page?

I have two fields. Lookup Preferences Based on my Preferences I want my lookup to be visible and hidden. I am using jquery j$(".class-name").hide() to hide the lookup and ...
1
vote
0answers
38 views

Show major tick on google meter gauge chart with amount as $1k , $2.5 M

I am creating visualforce page which contains a google meter gauge chart as shown above. I am showing trying to show amount in gauge but as you know representation of amount in 1K , 1M ,1B will give ...
2
votes
2answers
45 views

Lookup Populate with Javascript

Greetings and thanks in Advance! Have a visualforce page that allows a user to create a related lookup object. <apex:inputField id="newCompetitorAccount" ...
1
vote
0answers
19 views

Blob Data corrupt when use Ajax proxy

Hi I want to get image from a public url and want to display this on page. For doing this I am making an ajax proxy request because public url is on cross domain: ...
3
votes
1answer
35 views

Visualforce with jQuery and HTML Files Separately

Have a question if it is possible to have a visualforce page that is referencing both an .htm document and a jquery (.js) file that are loaded as static resources. The logic behind it is to keep the ...
2
votes
0answers
52 views

Get print of visualforce page containing different charts

I am creating a dynamic dashboard using Vf Charts. I am having about 18 different charts on a single visual force page. I have added a print button on the visualforce page to print all the charts on ...
1
vote
1answer
113 views

Clear Multi Picklist Value using JQuery

I want to clear multi picklist value when it is disabled. I'm using like this but it's not working. <apex:page standardController="Contact"> <script ...
0
votes
0answers
25 views

Not able to search particular column in pageblocktable

I am able to search other columns apart from second column. Please help me in getting this working. As second column in pageblocktable has commandbuttons rendering, I was not able to search it. ...
3
votes
2answers
101 views

How to access jquery plugin from an apex page?

I am trying to accsess the jquery plugin mentioned in the code but unfortunately nothing is showing up. Please help me with what am I doing wrong? Thanks in advance. ...
2
votes
1answer
118 views

Why does Visualforce ignore setting apex:selectList and apex:inputCheckbox values if manipulated (disabled) by jQuery?

I have a VF Page where I wanted to alter an <apex:selectList value="{!dependentSelection}">'s options dynamically like a dependent picklist with another apex:selectList. I felt using ...
1
vote
2answers
76 views

Hey I am developing an auto complete field instead of lookup and i want to save that field in controller on click. how can i do this?

Hey I am developing an auto complete field instead of lookup and i want to save that field in controller on click. how can i do this? I tried storing that value on click method but i am not even able ...
0
votes
0answers
59 views

onclick() event not working

My original post is here: http://stackoverflow.com/questions/26090790/input-type-file-click-doesnt-work-on-ie8-9?noredirect=1#comment40885240_26090790 . Originally, I was using $j('#file').click() ...
0
votes
1answer
40 views

How to prevent JQTransform override Salesforce Global Search Field alignment?

I 'm facing this issue, the Search text not align well in the Search's field. I am not sure where is the source code come from, what I understand it impossible to customize css for this search, but ...
0
votes
1answer
121 views

how to use external javascript function in visualforce

javscript file : uploaded in static resource: <script> function clearValue(){ document.getElementById('{!$Component.page1:form1:autocomplete1}').value=''; ...
1
vote
1answer
90 views

Copy paste issue in Jquery

When pasting text by mouse.Submit button should be enable . when remove full text from text area , submit button should be disable. If remove partial text by mouse. Submit button should be in enable ...
2
votes
1answer
134 views

Upload a file using <apex:actionFunction> integrated with JQuery

I have an html form that contains a file input, so I want to upload the selected file from this form using <apex:actionFunction> The problem is that I don't know how to pass the file to the ...
2
votes
1answer
155 views

jqgrid demo in salesfoce

I want to display data in a JQGrid on visualforce page. I am not getting any error but i can't also see any data. By looking into the debug logs i came to know that my java script is not at all ...
1
vote
1answer
93 views

Validation for inputFields inside Pageblock table is not working

I am trying to do a simple validation, if qty received ENTERED is different than qty ordered, a JQuery dialog box should open. For some reason this validation is working only for the first ...
0
votes
0answers
59 views

Custom component not blocking page within IE

I am using a custom component that blocks the page and displays a fancy processing icon/text when any actions occur on my visual force page. My problem is that it does not seem to work with Internet ...
2
votes
1answer
55 views

jQuery embedded in Community Header/Footer Breaking Standard SFDC Pages

I have a community footer file that includes the jQuery library. When any standard page (i.e. edit/detail/list views) loads within the community the functionality is broken. For example, if I access ...
1
vote
1answer
53 views

Collapse a PageBlockSection once a commandlink has been pressed

I have been asked to have a pageblocksection minimize as soon as commandlink has been pressed to make our page look less crammed. So far I have set the area I need to minimize to collapsible true and ...
2
votes
2answers
133 views

JS/jQuery for Date manipulation on VF page

Have a very simple VF page that allows the end user to either set an expiration date, or choose the number of days until the expiration. What I wanted to do was update the other field when one was ...
1
vote
1answer
73 views

Is there any different calling JSON directly from visualforce page and javascript Static Resource?

I create one javascript file and call JSON from there.Before I use JSON, I use hardcode data and it works.But I try to load data using $JSON, somehow it does not works.Check the code below ...
0
votes
3answers
178 views

To Change Font color for standard Case fields depending on picklist value

I want to change the color of the Standard field of a Case object say CaseNumber. It is a mandatory field for the object. The criteria for this is that whenever a Case Status value is changed, that is ...
2
votes
4answers
336 views

Page cannot use jQuery Plugin as it's registered with $ from Sidebar component

This again and again is a reason why jQuery-based pages in my apps fail to render at some customers but not at all customers... There must be a solution to this. Or at least others who share the pain ...
1
vote
1answer
174 views

How to disable and enable button depend on text value

Once click on Submit Feedback. Pop up text box open. But here by default , Submit button in disable mode.Once enter value in text area and then it should be come into enable mode (Submit).If remove ...
3
votes
2answers
219 views

How to load seperate VF page as modal dialog without risky Iframes?

In my custom Edit page I have a button where the user can select records and make them child records. As the edit page and the selection page must work on the same record they are currently ...
1
vote
1answer
156 views

jQuery: How to wait for Salesforce to finish rendering?

I have a small script that customises certain list views, hiding buttons. This is done using jQuery $(document).ready() Because this js is manipulating standard pages it is stored in the left ...
1
vote
2answers
811 views

Opening a bootstrap modal on click of a custom button on standard salesforce page

I have a bootstrap modal that I want to open on click of a Custom button on the standard Salesforce page. So for that I need to Execute a Javascript on the 'Onclick' action of the button (that'll be ...
1
vote
0answers
280 views

Save using Jquery UI modal popup

I have a Jquery UI modal popup that is basically an iframe with a VF page within. The VF page requires the user to enter some data and either click SAVE or CANCEL. The problem is that if I use ...
8
votes
1answer
271 views

Error in loading the iFrame in Salesforce 1 Platform:

Scenario : I have built desktop based Force.com platform and now i have enabled the Salesforce 1 Mobile app on my environment. Now if i try to load the same Desktop based Quote Detail page on Iphone ...
-1
votes
1answer
23 views

jQuery new syntax? [closed]

I have a jQuery statement in a project code, which was written by someone else. Can someone explain what the meaning and purpose of this usage is? Thanks! $.hello = {}; $.hello.callFunction();
0
votes
0answers
39 views

Not appending value to a cookie

I'm using the jquery cookie plugin in an VF page, trying to hide the div and add a value to the cookie. For the first time, it hides the div and creates a cookie with the value. In the next events the ...
0
votes
1answer
218 views

calculation from input field using visualforce page

The TotalValue__c field being calculated on the fly/client side while the user is entering the field values and and so that they don’t have to do the calculation themselves. TotalValue__c = ...
3
votes
1answer
76 views

Changing the value of particular pageblock on click using jquery/jscript

I have an scenario where pageblocks in visualforce are dynamically rendered based on the list size. In each page block i am performing some calculations OnKeyup using javascript and JQ and result is ...
0
votes
0answers
506 views

How to change Font style, font size and background of Pageblock table in VF page?

I have created a Visual force page and using Jquery plugin in it...but when i am applying my style to the table for changing the font size, type and background color of the table its not working. ...
3
votes
1answer
112 views

escape quotes in inline html of the push function in Visualforce page

<div id="OffLocations" style="width: 100%;"/> <script> //JS code... var officeList = new Array(); <apex:repeat value="{!OfficesOpen}" var="off" > officeList.push('<table ...
0
votes
1answer
76 views

Visualforce - array in jQuery throws error

In order to show a list of values fading continuously, I queried the values in the controller and trying to iterate in a component using array in jQuery. But it throws an error "Unknown property ...
0
votes
1answer
121 views

Collapse functionality in visualforce [duplicate]

I am creating collapsable pageblocks in visualforce and im new to visualforce i tried implementing the following code but its not working and throwing error in jquery file like Refference error ...
3
votes
2answers
349 views

How to create collapse and expand functionality between pageblocks in visual force

I am tryin to create expand and collapse functionality between pageblocks.The scenario is when i click the collapse button in one pageblock ,it should render another pageblock.How this can be achieved ...
1
vote
0answers
75 views

We can click any record it refreshes with in page

My Requirement is: i have created a custom visual force page. in that one custom object have a number of records, when we click on one record it goes to another tab, But my requirement is it ...