function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi,
Can I make use of merge fields (access merge fields) within a Javascript funtion which is present in a visualforce page?
Thanks.
Yes, but if the merge field values are dynamic you will need to rerender the script so that it gets the most up to date value.
<script type="text/javascript"> var myValue = '{!something}'; </script>
Hi TehNrd, Thanks for the reply.
The reason I asked is, I am facing problem passing merg field as parameter to the javascript function.
I posted my problem here
Please help me resolve this problem.
Appreiate your help
Yes, but if the merge field values are dynamic you will need to rerender the script so that it gets the most up to date value.
<script type="text/javascript"> var myValue = '{!something}'; </script>
All Answers
Yes, but if the merge field values are dynamic you will need to rerender the script so that it gets the most up to date value.
<script type="text/javascript"> var myValue = '{!something}'; </script>
Hi TehNrd, Thanks for the reply.
The reason I asked is, I am facing problem passing merg field as parameter to the javascript function.
I posted my problem here
Please help me resolve this problem.
Appreiate your help