Sha256: d6270777272a60bc316aa71fa5305bc33239895bd27567e3edad14d94dbec016

Contents?: true

Size: 1.4 KB

Versions: 19

Compression:

Stored size: 1.4 KB

Contents

<span style="width:600px;">
	<p>This page tests changing value of a textbox and a textarea to some constant before running WhowishWord.</p>
	
	<p>
		I have found out that changing value through Javascript does not actually change the value of the attribute 'value'.
	</p>
	
	<p>
		This causes problem in the previous version because it detects that the attribute 'value' needs a WhowishWord, but
		when the value of the element is retrieved, it does not conform with WhowishWord edit format.
	</p>
	
	<p>
		So, <i>WhowishWordElementCreator</i> explicitly exclude the attribute 'value' 
		and let <i>WhowishWordValueCreator</i> deals with it.<br/>
	</p>
</span>
<span>
	<b>Textbox: </b> <input type="textbox" id="change_textbox"
							title="__whowishWord_______title_textbox|name,value_____title" 
							value="__whowishWord_______value_textbox|name,value_____value" 
							placeholder="__whowishWord_______placeholder_textbox|name,value_____placeholder">
</span>
<span>
	<b>Textarea: </b> <textarea id="change_textarea"
							title="__whowishWord_______title_textarea|name,value_____title"
							placeholder="__whowishWord_______placeholder_textarea|name,value_____placeholder">__whowishWord_______value_textarea|name,value_____value</textarea>
</span>
<script type="text/javascript">
	$('#change_textbox').val("something else");
	$('#change_textarea').val("something other than this");
</script>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
whowish_word-0.3.1 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.3.0 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.2.7 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.2.6 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.2.5 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.2.3 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.2.2 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.2.1 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.2.0 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.1.9 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.1.8 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.1.7 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.1.6 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.1.5 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.1.4 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.1.3 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.1.2 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.1.1 rails/app/views/test_javascript/change_value.html.erb
whowish_word-0.1.0 rails/app/views/test_javascript/change_value.html.erb