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

Typical Question Sandbox code is working Production not working uncheck all checkbox

visualforce page: <apex:includeScript value="{!URLFOR($Resource.JqueryA, 'js/jquery-1.11.1.min.js')}" /> <apex:includeScript value="{!URLFOR($Resource.JqueryA, ...
1
vote
3answers
27 views

How to pass a JavaScript array to Apex controller

I am trying to pass a Javascript array to my apex controller. I know you can pass a string from Javascript through the use of hidden input field and apex action function (and I have used it in the ...
0
votes
2answers
34 views

taking rest response value from javascript to apex class

I'm getting Raw response for reports using rest API. Here is the code: <apex:page controller="ApiReports_cls"> <script ...
1
vote
1answer
17 views

How do I use jQuery to get the id of a lookup field when the field is changed?

I am using jQuery to try to get the id of a lookup field (Account_Contact__c) when the user selects a different value. Here is my code: var j$ = jQuery.noConflict(); function ...
0
votes
1answer
77 views

Open jQuery Dialog from Custom Button

We have a custom button on the detail page of the case designed to open a modal dialog popup, however receiving the $g(...).dialog is not a function error message. I've searched around the web and ...
1
vote
1answer
34 views

what is the proper syntax for getting an element out of a jquery array? [closed]

I am new to javascript/jquery. I am having a lot of trouble understanding how to write the proper syntax for this. I would appreciate any help. in apex you would do this : Public ...
-1
votes
0answers
11 views

How to reorder apex tab in Visualforce [duplicate]

How to reorder tab in visualforce dynamically. I need to sort/reorder tab which is child of apex:tabpanel using custom logic. One way is to use apex;dynamiccomponents but I have almost developed ...
2
votes
1answer
36 views

Does any one know how to pass a salesforce controller variable to a jquery method?

I need to pass a string variable that is in the controller to a jquery method that is on the visualforce page. Here is a dummy code of what i would like to do: $(document).ready(function(){ ...
0
votes
1answer
47 views

fancyBox jQuery for video pop up not working

I have written code so that i can embed videos in a visualforce page. However, I want the video to pop up in an aesthetic way. For that I am using fancyBox, which is not working. The details regarding ...
0
votes
0answers
32 views

Unsaved data handling in visualforce

I have a datatable displaying a list of records with pagination. Datatable supports inline-editing. Now i want to display warning popup if there are some unsaved data when the user tries to navigate ...
1
vote
1answer
29 views

Inline editing last updated field is not getting saved

I have a pageblock table where i can do some inline editing. But the last editd field is not getting saved. I need to explicitely click elsewhere after editing the field and then click on save and it ...
2
votes
1answer
42 views

Dragging and reordering dataTable/ pageBlockTable rows

I have a dataTable which is populated by the a list of Sobject. I need to be able to drag the rows of the table and reorder them. I have a HTMl table code snippet which does this using jQuery. ...
1
vote
1answer
48 views

Uncaught ReferenceError: Ext is not defined , Uncaught ReferenceError: chatter is not defined

I have used Chatter Feed component on my visualforce page . Example : The problem is that sometimes the chatter feed is loading and working completely fine while sometimes it shows the below JS ...
1
vote
4answers
89 views

Best practice for JQuery to hide/show a section with required fields

I'm building a wizard where I've a page splitted in some sections. One of them is shown/hidden based on the value selected for a picklist of another section, by using JQuery. But, the conditional ...
1
vote
2answers
39 views

Jquery - <apex:form> unexpected behaviour

I've this snippet of code, pretty working. But trying to delete the comments between <apex:form> , I notice an unexpected behaviour : the page reloads when I click any button, making it ...
2
votes
2answers
38 views

Html validation in VF

I have a VF page built mostly out of html tags, and associated Jquery that has been uploaded to static resources and included in the VF page using <apex:include script> I want to change the ...
0
votes
0answers
42 views

jquery accordion with salesforce not working properly

<apex:page > <script type='text/javascript' src='http://code.jquery.com/jquery-1.7.1.js'></script> <style type='text/css'> .accordion{margin:50px}.accordion dd ...
0
votes
3answers
43 views

Dynamic Hide and Show

I have the following piece of code where I want to dynamically hide or show div tag having a component on click of a button.. How can we achieve this? <apex:page sidebar="false" title="Article ...
1
vote
1answer
24 views

Implementing a wizard with multiple pages embedded in one single big page. What's the best design pattern

I am implementing a wizard for a large object called request. The idea for this wizard is that people can enter into this wizard at any stage of the request. So I read the status field from the ...
0
votes
0answers
24 views

Set jquery value to apex:outputText

there is a way to set the value in a apex:outputText?, now I'm using jquery to pass only the text, but when I want to get the value from the controller it is null. ...
0
votes
0answers
58 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 ...
2
votes
1answer
34 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
97 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
1answer
40 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 ...
3
votes
1answer
119 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
22 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
73 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
123 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
45 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
83 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
80 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
87 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
27 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
43 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
71 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
174 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
36 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
143 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
257 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
188 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
108 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
53 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
212 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
255 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
179 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
269 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
143 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
87 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
67 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
76 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 ...