jQuery is an open-source multi-browser JavaScript library designed to simplify the client-side scripting of HTML.

learn more… | top users | synonyms

0
votes
1answer
45 views

Using Javascript to reference a VF field and update database

I'm trying to reference a VF form field in my javascript and update in the database. I've got the update part working, but I'm still having a lot of problem trying to referencing "temp_approver" in my ...
1
vote
1answer
90 views

Jquery Event handler fails to work after table is refreshed

I am using the Datatables library together with a visualforce page to create a funky table but I am having funky issues to get ti running. Basically I have a button that will query the Salesforce ...
-1
votes
1answer
99 views

Jquery event handler does not fire after Visualforce table refresh

I am using the Datatables library together with visualforce to create a funky table but I am having "funky" issues to get it running properly. Basically I have a button that will query the Salesforce ...
-1
votes
3answers
162 views

need to display selected Values through javascript

My VF page is something like this <apex:page standardController="Temporary_Contact__c" extensions="tempView" > <apex:includeScript value="{!URLFOR($Resource.jquery)}"/> <script ...
3
votes
1answer
84 views

Drag & Drop Upload Images to documents - Security Problems

We have developed a Drag & Drop multiple Image Upload with Html5, jQuery and the REST API. We are wondering what are the problems that this feature can bring up in the security review. Let me ...
2
votes
1answer
53 views

JS remoting question

I am a newbie to SF. We have a spring MVC application. The controller returns the result as JSON object. My task is to call that controller method using JS remoting and display the results in ...
2
votes
3answers
161 views

swipe from jquerymobile does not work in VisualForce?

I tried swipe from jquerymobile in HTML and Javascript, it is working fine. As below <html> <head> <link rel="stylesheet" ...
6
votes
1answer
212 views

jQuery in Visualforce does not work in Firefox

For some reason jQuery that calls into a save actionFuction does not work in Firefox (but works in Chrome/IE). All it does is refresh and reload the same VF page, instead of creating a new oppty. ...
-1
votes
2answers
209 views

How to convert a lookup field into a autocomplete field [closed]

Well while working with visualforce pages, I was always tempted to replace the boring lookup field with a autocomplete component which searches the records as we enter text in them.
3
votes
2answers
131 views

Need help text of more than 255 characters

I need to use helptext with one custom field in Visualforce but Salesforce it allows 255 characters in helptext with a field. One solution is to create an image of text and show that image ...
7
votes
3answers
333 views

jquery in a visualforce page

I am new to using jquery in visualforce and seem to be stuck just getting the static resource to work correctly. I have two js files, one is the jquery the other is a qrcode generator. Both are ...
2
votes
4answers
275 views

Reading a csv file(document) in Jquery

We have a requirement where we want to read a csv document in Jquery / Javascript. We are able to read the file from documents (via query) and Static Resource inside the controller and then pass it ...
5
votes
4answers
775 views

Using jQuery to disable VF page button onclick

Quick background: I've already tried disabling onclick via apex, but my disable does not execute fast enough in the UI. I'm trying to incorporate jQuery in my VF page code so that a button is ...
10
votes
2answers
249 views

What actually happens on re-render?

I would like to know what actually happens on re-render (Ajax Call and DOM replacement) in Salesforce. My Idea: The ajax call is made to get data. On complete of ajax call, the DOM is ...
4
votes
2answers
389 views

Autofill state and city when typing zipcode

I know this would be crazy to have feature!!! Is there a way where when the user enters the zip code do an automatch and fill the state and city ? I was looking at ...
0
votes
5answers
626 views

Cannot get the global variable $Component to return id

How can I get the force.com generated id from the $Component global varible for me apex:selectRadio component? Javascript var rdo = j("input[@id=" + jq('{!$Component.searchRdo}') + ...
2
votes
1answer
202 views

Visualforce + jQuery Mobile Images as Static Resource

I've uploaded the entire jQuery Mobile library, including the images the framework uses, as a single static resource on salesforce. How can the JQM framework now refer to its images given their URL ...
2
votes
2answers
491 views

how to make field required via javascript

Depending on the value of a picklist I'd like to toggle a set of fields from required to not required. I've been able to add the divs to make it look required 'red bar in inputField'. Its still not ...
3
votes
4answers
530 views

jQuery hide row

I want to know how to hide a row using jQuery (I have jQuery set up in my code already). Let's say I have an object called Entry, and I have several records like E-0001, E-0002, E-0003 etc. I have a ...
0
votes
1answer
315 views

JQuery validation in VF page does not work in IE9

I have added jquery validation to my visual force page controls. The validation works fine in IE8 but not working in IE9. I tried the following to check what goes wrong. Different versions of jquery ...
5
votes
5answers
959 views

Has anyone done Drag and drop multi-upload functionality for attachments/files?

I'm trying to create a visualforce page where someone can drag and drop attachments to upload them and they can see a preview of attachments that they have already uploaded. There are a ton of jquery ...