Reputation: 13
I want to get a value in Java ADF using JavaScript. I tried many examples but got undefined or null value.
Do anyone know how to get the inputtext value in ADF using JavaScript?
And what are the configure?
Upvotes: 0
Views: 4648
Reputation: 31
To find component you can use method. To get value from inputText use this.
var input= AdfPage.PAGE.findComponent("it1");
var value = input.getValue();
Upvotes: 1
Reputation: 78
document.getElementById('pt1:r1:0:subform0base:userName::content').value
Upvotes: 0