function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Chidanand MChidanand M 

How to get the value of dynamically created textbox using javascript


How to get Id of the dynamically created textbox using javascript?
Plz give some good links or a sample code.
HI Chindu,

If you are talking about VF pages then right click on the page then select inspectElement ,take the cursor to that  particular element you will get the nested Id for that component .

  function getValue(){
    var fieldValue = document.getElementById('CopyPasteThe componentID').value;
However it will good if you have added id to all component like page and form .