You need to sign in to do that
Don't have an account?
How to get the value of dynamically created textbox using javascript
Hi,
How to get Id of the dynamically created textbox using javascript?
Plz give some good links or a sample code.
TIA
How to get Id of the dynamically created textbox using javascript?
Plz give some good links or a sample code.
TIA
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 .
<script>
function getValue(){
var fieldValue = document.getElementById('CopyPasteThe componentID').value;
alert(fieldValue);
}
</script>
However it will good if you have added id to all component like page and form .