Accessing HTML Form Fields from with in a Custom Java Script


Is there a way to access access form fields from with in a custom script? Do we have to use Script Parameter or is there a notation that we can follow
something like


I tried browsing through the generated HTML, I see that myWebMethods prefixes a sequence number before the Id we assign in the developer like jsfwmp73580:formId.

The java managed bean for your view contains a special content provider that will resolve the client-side id for any control.