but how would I get the first date displayed in the calendar? For instance, the first date displayed in January 2013 is Sunday Dec 30, 2012. Once I have the first date I assume I can iterate through and create the td's I need in the new table assigning td ID's = to each date.
Hi all. I have a slider with a range of 1 to 10. I only want to allow selections on 1,2,3,5,7,10. How can I disable steps at 4, 6, 8, and 9? Originally, I was only allowing 1, 3, 5, 7, 10. I was able to accomplish that by setting the step to 2 and then if the user selected 9, I would change the value to 10. But now that I have values on either side of 4 and 6, I don't know what the user is intending. Any ideas? Thanks.
Hi all - I'm pulling my hair out with something pretty simple here. I get an undefined error on my alert. I figure data.paid is not correct but I'm not sure how to alter it. BTW, the json is created via classic asp.
my ajax returns the following json:
I am trying to accomplish the following: If a user selects from the first set of radio inputs and the class=benabled, then the second set of radio inputs is enabled but if the class is "bdisabled" then they are disabled. Seems pretty simple, right? The following code works fine in Chrome but will not enable the second set in IE.
Can anyone please set me straight? Thanks.
PS - I'm using .live because the working application loads the radio inputs as part of a page loaded via ajax.
I hope the question makes sense and I'm guessing may have been answered before. That said, it's several hours since I started searching for a solution and I am turning to you guys. Can anyone please steer me in the right direction?
Hi all, (sorry for the double post - didn't see the first one go through)
I'm new to jquery and have a couple of questions.
In the code below I have to return(false) in order for the #autocomplete input not to be updated by the value (rather than the label). It initially updates the label and then as the code continues to run it switches it back to the value. Am I doing something wrong?
More general ajax question - I'd like to send a second parameter that changes with changes made to the value of grpDir. I'm sending the second parameter but it only picks up this value when the page loads. How can I make this second parameter dynamic?
Code is below.
Thanks in advance for your help.
<input type="radio" id="grpDir" name="grpDir" value="1000"> A
<input type="radio" id="grpDir" name="grpDir" value="2000" checked> B
<input type="radio" id="grpDir" name="grpDir" value="5000"> C
<input type="radio" id="grpDir" name="grpDir" value="6000"> D
I'm new to jquery but am getting more comfortable as I go. I have a specific question on the ui autocomplete widget and, probably a general jquery/ajax question.
Here's what I'm trying to do: Use an input box to update a field with a label and a hidden field with a value. This works fine but as you can see in my code below, I need a return(false) because after #autocomplete is populated with the label, it then reverts back to the value without this call. This doesn't seem right to me but the return(false) takes care of the problem. Any insights?
Second question: I want the url I send to be dynamic using the value of grpDir. This value is read once the form is loaded. How do I make it update when the autocomplete actions take place?
Thanks in advance for your help. Excerpts of my code is below:
Directory<BR> <div><br> <input type="radio" id="grpDir" name="grpDir" value="1000"> A <input type="radio" id="grpDir" name="grpDir" value="2000" checked> B <input type="radio" id="grpDir" name="grpDir" value="5000"> C <input type="radio" id="grpDir" name="grpDir" value="6000"> D </div> <input id="autocomplete" size="30" /> <input id="vendorNo" />