@resdigita in javascript
This commit is contained in:
parent
5a84380979
commit
13b2bbffdd
8
static/javascript/lesgv.js
Normal file
8
static/javascript/lesgv.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
function addResDigitaOrgIdValue () {
|
||||||
|
inputTextEl = document.getElementById("idvalue");
|
||||||
|
value = inputTextEl.value;
|
||||||
|
value = value.split("@")[0];
|
||||||
|
inputTextEl.value = value + "@resdigita.org";
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
document.getElementById("idvalue").addEventListener("change",addResDigitaOrgIdValue());
|
Loading…
Reference in New Issue
Block a user