How to get values of visualforce components in javascript by id in Salesforce

In visualforce page you can embed and can also write your own javaScript code as we do in HTML pages but to access the values of the visualforce tags is little tricky in salesforce because when visualforce convert to simpler HTML page then salesforce append some code to the ID so it become little tricky to refer those ID in javaScript, let see different method with example code but before moving to the tutorial IContinue Reading