Sha256: 6e3c75e981678f0f0eeace6402cf765992c3d467c427cfa2175b0a76e62c3b89

Contents?: true

Size: 751 Bytes

Versions: 3

Compression:

Stored size: 751 Bytes

Contents

<div id="dynamic_counter">
		<script type="text/javascript">
function incrementCounter() {
	dojo.io.bind({
url: "<url oid="increment_counter" id="increment_counter" />",
load: function(type, data, evt) {document.getElementById('dynamic_counter').innerHTML = data},
mimetype: "text/html"});
}

function decrementCounter() {
	dojo.io.bind({
url: "<url oid="decrement_counter" />",
load: function(type, data, evt) {document.getElementById('dynamic_counter').innerHTML = data},
mimetype: "text/html"});
}
		</script>
	<p>Use the <b>+</b> and <b>-</b> buttons to change the counter.</p>

	@counter<br /><br />

	<input type="button" value="+" onclick="incrementCounter()" />&nbsp;&nbsp;<input type="button" value="-" onclick="decrementCounter()" />
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
IOWA-1.0.3 test/TC_IOWAFunctions/iowa/AjaxWidget.view
IOWA-1.0.2 test/TC_IOWAFunctions/iowa/AjaxWidget.view
IOWA-1.0.0 test/TC_IOWAFunctions/iowa/AjaxWidget.view