Click here to Skip to main content
15,917,628 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All-

I have an employee report in my page. I am filtering the report using JQuery spinner. User can get reports based on week, days, hours and miniuts.

Below is my JQuery Spinner code:
JavaScript
Week:
<input id="week" value="0" required="required" style="width: 30px;" >

$(function () {
    $("#week").spinner({
        required: true,
        min: 0,
        max: 53
      });
});

Days :
<input id="days" value="0" required="required" style="width: 30px;" >
<pre lang="Javascript">
$(function () {
    $("#days").spinner({
        required: true,
        min: 0,
        max: 31
      });
});


Now I want to disable other text boxes, when user has selected week. I have used OnChange() method. But that is not working on spinner change.
Please help me. Thanks in advance
Posted
Updated 27-Nov-14 1:29am
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900