I have been given an unfinished project which seems to function, part of which is manipulating numerical data from a db. The actual code works fine. Depending on which var is selected in a dropdown form, output1 and output2 changes (is manipulated ie multiplied by 100 or divided by 10).
My question is where should I look for the actual code that determines the manipulation, I have searched in all js files, there is nothing that refers to any of these variables.
The reason for this question is that some of the options in the form dropdown have no effect at all, I cannot trace the source that determines which dropdown option will manipulate, and what the manipulation should be.
with thanks
-------------------------------------------------------------------
var a = jQuery('#A').val();
var b = jQuery('#B').val();
var c = jQuery('#C').val();
jQuery.ajax({
type: "POST",
data: {b: b, a: a, c: c},
url: base + "x/y",
dataType: 'json',
success: function (data) {
$('#fromdb1').val(data.output1);
$('#fromdb2').val(data.output2);
}
-------------------------------------------------------------------