Questions tagged [jquery]

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.

Filter by
Sorted by
Tagged with
21
votes
2answers
6k 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 completion of the ajax call, the DOM is ...
5
votes
2answers
5k 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 http://daspecster.github.com/...
4
votes
5answers
5k 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}') + "]:checked").val()...
2
votes
1answer
747 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 ...
5
votes
2answers
8k 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
2k 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
1k 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 ...
10
votes
4answers
5k 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 ...

1
11 12 13 14
15