Sunday, 11 August 2013

Detecting a change in box2View in jquery Dual ListBox

Detecting a change in box2View in jquery Dual ListBox

I'm using Dual Listbox jQuery Plug-in with the following code:
<div id="instructorSelTab" class="instructorSelTab"> <!-- start div
instructorSelTab-->
<p class="iMsg">Please wait while the list of instructors is generated
<img class="iImg" src="&save_webPath.css/img/loader.gif" />
</p>
<table>
<tr>
<td>
<select id="i1View" multiple="multiple"
style="height:300px;width:300px;"></select>
<br/>
</td>
<td>
<button id="ito2"
type="button">&nbsp;>&nbsp;</button><br />
<button id="iallTo2"
type="button">&nbsp;>>&nbsp;</button><br />
<button id="iallTo1"
type="button">&nbsp;<<&nbsp;</button><br />
<button id="ito1" type="button">&nbsp;<&nbsp;</button>
</td>
<td>
<select id="i2View" multiple="multiple"
style="height:300px;width:300px;"></select>
<br/>
</td>
</tr>
</table>
</div> <!-- end div instructorSelTab -->
How can I check if the content of i2View has changed? Nothing is selected
in i2View and I'm not interested in the content - just the fact that
something has changed.

No comments:

Post a Comment