How can i put the below javascript value into above odoo field name question
<form>
<group>
<field name="question" />
<html>
<p style="color:red">Asif html</p>
<input type="text" value="" id="mySelect" onchange="myFunction()"/>
<p id="demo"></p>
<script>
function myFunction() {
var x = document.getElementById("mySelect").value;
document.getElementById("demo").innerHTML = "You selected: " + x;
}
</script>
</html>
</group>
</form>
This question has been flagged
6891
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
0
Aug 23
|
194 | ||
|
|
1
Feb 22
|
4084 | ||
|
|
0
Feb 18
|
7678 | ||
|
|
2
Oct 25
|
1658 | ||
|
|
1
Nov 24
|
3785 |