Ero sivun ”Widget:Form enabler X” versioiden välillä
Järvi-meriwikistä
Rivi 57: | Rivi 57: | ||
if (strArr[1] == val) { | if (strArr[1] == val) { | ||
//old = input.parent().html(); | //old = input.parent().html(); | ||
− | newLabel = old.substr(0, old.lastIndexOf(";")) + strArr[2].split('_').join(' '); | + | //newLabel = old.substr(0, old.lastIndexOf(";")) + strArr[2].split('_').join(' '); |
//jQuery( this ).html(newLabel); | //jQuery( this ).html(newLabel); | ||
− | + | ||
− | input.text( | + | input.text( strArr[2].split('_').join(' ') ); |
break; | break; |