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

jQuery new syntax? [on hold]

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
26 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
46 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
29 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
45 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
34 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
50 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
38 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 ...
2
votes
2answers
73 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
49 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
149 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
113 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
45 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
48 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? ...
0
votes
2answers
20 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".
0
votes
1answer
72 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
67 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
163 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
70 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
65 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
94 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
151 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 ...
1
vote
1answer
74 views

JQuery in VisualForce is Not Working in IE8?

I Have a 2 Address FromAddress and ToAddress. I have a one checkbox on visual force page like SameAsFromAddress. When I click on that checkbox I'm copying address using jQuery, but this jQuery is not ...
0
votes
1answer
42 views

Get the Salesforce Id for the URL in jQuery

In the controller, I specify the PageReference src as http...../apex/mypage?id=' + {!a.Id} and for href as "!URLFOR("apex/mypage?id=" + a.Id)} in the tag. But in jQuery: $('#Link').click(function(){ ...
0
votes
0answers
187 views

JQuery receivemessage returns “undefined is not a function” on Chrome

I'm using this approach to open a modal dialog on button pressed. It works fine under Firefox, but fails on the other browsers (Chrome, Safari), stating "undefined is not a function". The part that ...
1
vote
0answers
49 views

Fuelux tree open when loaded to the preselected items

I am trying to get the tree open from one node upwards to the root when the tree is loaded, and I don´t find the way to do it. It´s useful in the case that as soon as the tree is loaded, I am able to ...
1
vote
1answer
40 views

Return fields from custom list setting and pass to JS

If I have a custom list setting, 'Info_List__c' with 2 fields, 'Info_Field__c' and 'Info_Name__C'. What would a method look like that would iterate through the list and return all entries. And how ...
2
votes
1answer
48 views

Can I return .getAll() in a particular order?

Can I return this data in any particular order? @RemoteAction public String planUnitList { get { return JSON.serializePretty(All_Data__c.getAll().values()); } } Perhaps by using ...
1
vote
1answer
140 views

what are the different options to display data in Jquery Data table when initial page loads

I have a requirment to display child object records using jquery datatable in each child object jquery tab when a parent is selected.Currently i am using remote action to display all the child ...
1
vote
2answers
46 views

Is there a way to catch/process Visualforce input field validations?

I have javascript/jquery on a page that uses a variable from the controller that is transient. When the visualforce input field validation fails, it refreshes the page without going to the controller ...
1
vote
1answer
56 views

How to execute Jquery logic when inputCheckbox is checked true, but not execute jQuery when inputCheckbox is false

<apex:inputCheckbox styleClass="billCopy">Same as Above To Address </apex:inputCheckbox> <apex:includeScript value="//code.jquery.com/jquery-1.11.0.min.js"/> <script> var ...
0
votes
2answers
102 views

Using jQuery to access a SF Controller variable

'lo everyone. I have been trying to use jQuery to access a variable in my controller and I have just not been able to put it together. So, I created a simple example to eliminate anything extra, but ...
2
votes
1answer
2k views

How to add a check box column to jquery datatable

I need to add a check box column to a jquery data table and make the row selectable. Once rows are selected and clicking up on submit button then the id's of selected rows should send back to the ...
1
vote
1answer
65 views

How to prepend text to Img src value

I have this code: <td><apex:outputText value="{!e.p.Imagen_Producto__c}" escape="false"></apex:outputText></td> where the value "{!e.p.Imagen_Producto__c}" is equivalent ...
0
votes
1answer
389 views

Jquery Validation in Visualforce Page

I need to validate the Account.Unit__c field using some jquery dialog box.But I am having difficulty in getting visual force component Id in jquery. Update I followed Keith C recommendation and ...
2
votes
1answer
49 views

Jquery dialogue is not coming when it is added as a home page component, but is working fine as a individual page

<apex:page > <html lang="en"> <head> <meta charset="utf-8"/> <title>jQuery UI Dialog - Modal message</title> <link rel="stylesheet" ...
3
votes
1answer
300 views

Jquery Modal Popup window in Salesforce is vanishing after it shows for 2 seconds

I have a button, onclick of that i want to display the modal pop up window. Here's what i have done- Window is displayed for 2 seconds and then it vanishes! what might be the problem? ...
0
votes
1answer
366 views

Can't upload files with IE11 - does not support binary blobs

I am using the following script to upload files, function upload_file(id, index) { var input = document.getElementById('FILE_INPUT_' + index); var parentId = id; var ...
2
votes
2answers
254 views

Return list of records from Salesforce Object with JavaScript

How could I return a list of records using only javascript, with no apex: elements. My original approach was to use an apex:repeat like so: <apex:repeat value="{!attachments}" var="attach"> ...
2
votes
2answers
137 views

Jquery datatable error pops up when table is loading

I am using datatable plugin in a visualfroce page. Below warning popsup only at the time of page loading and table looks good after closing the alert. Here is the code... VisualForce Page ...
2
votes
0answers
54 views

How to display levels dynamically? [duplicate]

Hi, Here i want to select level according to that level below rows will appear like if i select level 1 row will select if level is 2 show 2 rows level1 and level2? <apex:page ...
2
votes
1answer
78 views

Can I append apex elements to html with jQuery?

In a visualforce page, if I have a DOM completely created dynamically with jQuery, could I append the following code dynamically too? <div id="file"> <apex:inputFile ...
1
vote
1answer
472 views

How can I hide field labels in a Visualforce page?

here i have crated a vf page and wrote a script but the labels are not hide please let me know? This was the below code.. <apex:page standardController="opportunity"> <apex:includeScript ...
2
votes
1answer
353 views

How to hide fields (input) by jQuery - Visualforce

I would like to show or hide fields depending on the value of another field. I was not able to find and implement the existing topics. function selectService (){ if($jquery('[id$=inField1]').val() ...
2
votes
1answer
114 views

Using showheader=false when using Jquery in Visualforce

I was working on Jquery with Visualforce and noticed that the page was fine with showheader = false and when I used showheader="true" I ended up having the following error in my console: Uncaught ...
1
vote
1answer
175 views

Loading Dynatree Jquery library in Visualforce

I am trying to learn more about DynaTree tree control and I am just having no luck. I am an admitted beginner, but enough about my crutch. :) I have successfully added the DynaTree control to my ...
2
votes
1answer
231 views

Onblur issue on text box autocomplete..?

I have a VF page..I have a button open pop up..on click of that button i am opening a pop up using output panel and css...using the code something like this.. LINK ...
2
votes
1answer
118 views

On blur issues in jquery..Need focus to change out of text box..?

I have a VF page..I have a button open pop up..on click of that button i am opening a pop up using output panel and css...using the code something like this.. LINK ...
3
votes
1answer
256 views

How do I use Javascript or jQuery externally to send data to Salesforce Leads?

I have a website form using HTML and jQuery/Javascript on my own domain that I want to post to Salesforce (web2lead or not, as long as it gets there) using an ajax call. I keep getting the ...
2
votes
1answer
75 views

Comma separated values in visual-force page using query or java-script

I have a field which displays values in visualforce Page as follows "a;b;c;d" i want the values to displayed as comma separated values as "a,b,c" I using a repeat tag inside which i have field ...