Hi,
I am using the jQuery SpinBox plugin (from http://plugins.jquery.com/project/spinbox) on some text boxes on my form. But I have come across a problem. Some of these textboxes need to have their min/max properties set dynamically when the values of other fields are changed. I have tried doing something like this:
$("#tbxDelayEndDate").spinbox({min : $("#tbxDelayStartDate").val()});
But the problem is that clicking the up/down buttons causes erratic behaviour.
How can I change the max and min properties without this happening?
EDIT: Or can anyone give me an example of one spinbox constrained by the value of another?
I don't want to have to use a different plugin.
Thanks.
James