Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Javascript is a weakly typed interpreted programming language primarily implemented by web browsers to allow for client-side scripting. It can be used in Visualforce pages to give a more dynamic experience to end users. Additionally, the Visualforce engine generates and uses JavaScript to support the functionality of some of its components.
4
votes
2
answers
574
views
Salesforce Standard JavaScript
There are some JavaScript functions used by the standard Salesforce pages that would be useful outside of the Standard pages. … I can't find a Salesforce reference to standard Salesforce JavaScript functions. A standard JavaScript API seems like it would be useful.
Does anyone use these JS functions? If so, which ones? …
1
vote
How can I get this apex:repeat variable in javascript?
</apex:repeat>
</apex:outputPanel>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
<script type="text/javascript …
5
votes
1
answer
2k
views
How do I line up many Multi-select picklist inputFields on a Visualforce page?
I have 5 different Multi-select picklist fields on an Object. In my Visualforce page I use an <apex:inputField> display them on the page. Visualforce renders two side by side Multi-selects with left …
7
votes
Accepted
How do I line up many Multi-select picklist inputFields on a Visualforce page?
Adding Javascript to manipulate the controls after the page loads will solve the problem. … URLFOR($Resource.JQuery, 'js/jquery-1.8.1.min.js')}"/>
<script type="text/javascript">
var j$ = jQuery.noConflict();
j$(document).ready(function() {
j$("select.myMultiClass").each(function …
5
votes
1
answer
3k
views
How to use the sforce.one.navigateToList method?
I see in the Salesforce1 Developer Guide the section on Managing Navigation has documentation on the navigateToList method.
navigateToList(listViewId, listViewName, scope)
Navigates to the …
1
vote
when i am Double click on URL Error:Survey ID required..How to achieve this?
when i click F5 for refresh it is working good
When you hit F5 the browser sends the exact same request it sent before, so it makes sense that you are able to see the page successfully, if you we …
2
votes
How can I handle calculations for different countries/locale?
The <apex:outputText/> provides options to specify an output format for numbers. The available formatting options for it come from what is specified in the Java DecimalFormat documentation. It turns …
1
vote
Accepted
javascript object creation for js remoting
Mohith did a good job pointing you to the documentation for JavaScript Remoting for what is supported.
To get the values into your JavaScript object you can use jQuery to make it very easy. … URLFOR($Resource.res, 'js/jquery-1.8.1.min.js')}"/>
Then the JavaScript snippet:
<script type="text/javascript">
var j$ = jQuery.noConflict();
// Whatever function you end up calling to get …
2
votes
Accepted
How to access pageblock item in Javascript?
For example:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"> </script>
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(document …
6
votes
chatterfeed toggle not working post Spring '13
internal SF JavaScript or APIs. … Try to avoid any solution that relies on the internal Salesforce JavaScript. …
5
votes
onchange with Outputfield and inline editing
<apex:page standardController="Account">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript">
var $j = jQuery.noConflict(); …
5
votes
apex:actionFunction to return value from Controller
You should be able to access the controller property in JavaScript that is directly in your page, such as:
var url = "{! … <apex:outputPanel id="reRenderedPanelToSetVariable">
<script type="text/javascript">
url = "{! …
2
votes
Javascript Button Issue
Opportunity.AccountId}";
It is legal to declare functions inside of functions in JavaScript, but you still have to call them. …
3
votes
How to share JavaScript between Custom Buttons and Visualforce pages?
There's an idea: Allow references to Static Resources on Custom Buttons with OnClick JavaScript. … In it there's a link to this blog post Using static resources with Salesforce custom Javascript buttons that outlines a hack that would allow you to have a single source of the JavaScript reside in a static …
4
votes
Accepted
Visualforce Remoting and Relationships
It is possible, although I'm not sure what the error message is that you are seeing.
I see an issue in the controller code. The Id reference field needs to be assigned after the first upsert is do …