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
0answers
13 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
26 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
34 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
49 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
19 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
90 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
56 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 ...
0
votes
2answers
43 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
45 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
31 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
65 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
58 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
90 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
96 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
66 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
41 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
40 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
43 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
102 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
56 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
107 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
214 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
99 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
147 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
133 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
381 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
248 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
213 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
22 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
34 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
159 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
65 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
375 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
101 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
64 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
100 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
251 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
67 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 ...
1
vote
2answers
2k views

CSS styling for jquery DataTables - can't seem to make padding go away

I am new to styling and CSS, java, all that.. I've made a jquery datatable and am attempting it to style it to my requirements. There is cell spacing or padding that is not going away no matter what I ...
1
vote
1answer
377 views

Return string value of id on jQuery datatable server side sorting

Hi I'm working on a server-side sorting using jQuery datatables based on an example from here. Everything works fine bar one detail - the look up fields to the user returns the user id and I'm not ...
2
votes
1answer
126 views

Use jquery to enable button

I have a pageblocktable something like this: <apex:column> <apex:inputField value="{!opp.Name}" /> </apex:column> <apex:column> <apex:inputField ...
1
vote
1answer
73 views

Show Save Button When all Fields Fillled [closed]

I have a form with 2 fields. When all fields' values are filled, I need to display/show the Register button in hide stage. I am using jquery but it is not working. Where did I make a mistake? ...
1
vote
2answers
55 views

In Salesforce ,I have an issue how to call the vf page in div through jquery ajax attribute URL

$.ajax({ type: "GET", url : "https://ap1.salesforce.com/apex/ABCgraph", dataType:"html", In the above sample ,How to call the VF page in "url".
1
vote
1answer
200 views

jQuery datatable not functional on templated page

I have a visualforce page which makes use of a template. I am trying to use jquery datatable to add funtionality to the pageblocktable. My code works on just a normal non-templated visualforce page ...
2
votes
1answer
206 views

Issues with sorting on pageblock table

Hi I recently came across a jQuery animated table sorter plugin from here and I'm trying to leverage it on one of my visualforce pages. It seems straightforward enough but I can't for some reason get ...
2
votes
1answer
660 views

Using JQuery to conditionally hide buttons on Quote Page

I was following Tehnrd's tutorial (http://www.tehnrd.com/show-and-hide-buttons-on-page-layouts/) on how to conditionally hide/show custom buttons on a page layout. I think Tehnrd's code deals with ...
1
vote
0answers
104 views

Jquery pageredirect in visualforce page

Hi this is my jquery code to change the div content with another visualforce page but it is not working properly in the below code visualforce page is calling but src is taking as a blank.html ...
-2
votes
1answer
103 views

Jquery scroll to bottom of a visualforce page on buttonclick [closed]

I have a button that on clicking calls a webservice and displays a list of record below that button. I'm trying to scroll down to the bottom most part of the visualforce page, everytime the button is ...
0
votes
1answer
136 views

Truncate long text and change as links in the Pageblocktable - VF/jQuery

In a table with six columns, I have truncated the DESCRIPTION field to 25 characters to avoid the row expansion. However, I wanted to make the truncated text as links, so that the user can click and ...
-3
votes
2answers
659 views

How To remove trailing comma(,) in array in JavaScript [closed]

var fromFields = [<apex:repeat value="{!fromFields}" var ="f">'{!f}',</apex:repeat>]; renders as fromFields =['abc','msr','mdr',]; Now I want to remove comma after 'mdr' so it will ...