Skip to main content
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
Results tagged with
Search options not deleted user 29494

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.

3 votes

How do I reload all JavaScript on the page using oncomplete?

SomeApexMethodIfAny}" rerender="SomeId" /> <script> function callJSfunction() { //Your whole above JS code } <script> </apex> If you're looking to call the JavaScript one time, above way should …
Viraj's user avatar
  • 568
0 votes
1 answer
906 views

Salesforce Knowledge || Can we use JavaScript or jQuery functions in Text (rich) data type?

(after refering this - https://goo.gl/U4kFHW) I have the HTML file and it has few JavaScript function in it. I wasn't sure about this. … For a test purpose, I added small JavaScript code in the HTML file and uploaded the zip. …
Viraj's user avatar
  • 568
-1 votes
1 answer
530 views

How to prevent postback in VF page?

On click of a button, I want to prevent postback so that the page does not refresh. I tried with below but doesn't prevent from postback. Any help? <div> <button type="button" onclick="return fa …
Viraj's user avatar
  • 568
-1 votes
2 answers
712 views

How to pass the array values from the javascript to apex controller and later store in custo...

I am trying to get the values from javascript which is in array, to the apex controller and later save it. When I check the debug logs, I see null value in it. Need help. Below is my code. … saveAccountIds}" name="sendAccountIds"> <apex:param name="accountIds" value=""/> </apex:actionFunction> </apex:form> JavaScript Code:- _getAccountsList: function() { varaccountIds = []; if ( …
Viraj's user avatar
  • 568
3 votes
1 answer
1k views

How do I stop the loading indicator on the VF page?

I have single field called Case and on its onchange event along with the apex method, it calls the JavaScript function where the loading indicator can be seen on the VF page like below: Till here the …
Viraj's user avatar
  • 568