MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Shornstein (talk | contribs) No edit summary |
Shornstein (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
function myFunction() { | function myFunction() { | ||
if (textinput != null) | if (textinput != null) | ||
{ | { | ||
var | var nBlLength = Number(document.getElementById("mw-bllength").value); | ||
nBlLength = nBlLength + 1; | |||
nBlLength = nBlLength + 1 | |||
document.getElementById("mw-bllength").value = nBlLength ; | |||
} | } | ||
}; | }; |