Sha256: 29320fdc837b81d375b665bbe3f048d417d8d300ad0a2d2dc1a3035042cb4f63
Contents?: true
Size: 539 Bytes
Versions: 26
Compression:
Stored size: 539 Bytes
Contents
var WhowishWordValueHandler = WhowishWordContentHandler.extend({ init: function(elem){ this.elementId = elem.id; }, setContent: function(content){ var elem = $w('#' + this.elementId)[0]; $w(elem).val(content); if (elem.attributes['value'] != undefined) { elem.attributes['value'].value = content; } if (elem.value != undefined) { elem.value = content; } $w(elem).attr('value', content); }, getContent: function(){ var elem = $w('#' + this.elementId)[0]; return $w(elem).val(); } });
Version data entries
26 entries across 26 versions & 1 rubygems