@resdigita in javascript
This commit is contained in:
parent
5a84380979
commit
13b2bbffdd
1 changed files with 8 additions and 0 deletions
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 a new issue