I have an edit screen, there is a section inside in which i have lots of elements like select,input etc. Now i need to find out whether the user has changed any values which was already existing using Jquery. I have to find whether there was a change in value while submitting the form. Consider a div like this,
<div class="row">
<div class="form-group required">
<label class="control-label">Port</label>
<select name="portId" id="portId">
<option value="">Select</option>
<option value="1">Chennai</option>
<option value="2">Kochi</option>
</select>
</div>
<div class="form-group required">
<label class="control-label">Operator Name</label>
<input type="text" id="operatorName" name="operatorName">
</div>
<div class="form-group required">
<label class="control-label">Attachment</label>
<input type="file" id="file" name="file">
</div>