Fetching Rich text editor field value using javascript
Hi
I'm new to Oracle ADF.
I am trying to add a simple validation for a rich text editor using javascript.
But i 'm unable to fetch the value from the field.
Is it possible in oracle adf to use javascript validation for rich text editor.
Here is the code ::
function validate1(evt){
var input = document.getElementById('rte1::content');
if(input.value=="" || input.value == null){
alert("please enter some value");
return false;
}
}
Every time i run this piece of code after giving value or not it is showing the alert message.
Please Help !!!