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
<apex:form>
<!-- Define the JavaScript function setFocus-->
<apex:actionFunction name="setFocus" focus="click"
rerender="out" />
<apex:outputtext>Name:</apex:outputtext>
<apex:inputText id="testId1"></apex:inputText><br></br><br></br>
<apex:commandButton id="click" value="Click Me"></apex:commandButton>
<apex:outputPanel id="out">
</apex:outputPanel>
<body onload="setFocus()">
</script>
</apex:page>
Thanks for your help.