Amit Vakodkar

Greenhorn
+ Follow
since May 28, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Amit Vakodkar

Bear Bibeault wrote:Please don't add your own line numbers to your posted code. It makes the code surprisingly hard to read.

What is your intention for this line of code; " $("form").submit(function(){ " ?




Am Sorry about the Line Nos.. I thought of submitting the form, but this is not helping out.
I have a Jquery Slider Widget on stop function i need to pass the values from the slider to fetch the result based on that value which needs values to be sent to the server.

I tried this:


& this



Am not sure about how this works.

Thanks
How can I change the ui.value which comes from the slider value to display it as a Date corresponding to a particular month. Although I am taking 2 variables the Issue is how to change the Ui.Value to the Date which we need.
Take the Scenario as: I have a Jquery Slider which has the min as 1 & max as 100. When i move the slider to 31, it should show the msg below as "Jan 31", but as soon as i move to 32 the value which is displayed should show Feb 1, but in my case it is showing Feb 32. Is there any way where in I can reset the value back as 1 at the same time not allowing the slider to move back to the 1st position.

the ui.value in jquery comes as 1...31 32 33 34 ....
below i display as Jan 31

What I need is to change the ui.value such that as soon as it goes beyond 31 it should show the Message as Feb 1.

Eg: UI.Value | Display
31 Jan 31
32 Feb 1
33 Feb 2
34 Feb 3

Bottom line is that I want to show the Calendar dates in Jquery Slider.
Yeah all the variables you see are getting the values from Date Class in JS, all that is working fine but the issue is with slider value, which i need to change from Jan 31 to Feb 1 & not Feb 32. I have a input box which displays the value of the slider, in my case which displays Date/

Thanks
Hi All,

I am trying to create a Slider for date range, ie from current date to last 3 months. Suppose I have 3months Jan(31 days) - Feb(28) - Mar(31), when i move the slider its displays the value as "Jan <date>", but as soon as I try to go fwd with another month it displays "Feb 32" & so on. I want to know how can I reset the value so that it changes the value with the month.

Please Ignore the IF loop below.

Thanks Anuj, this was the code i was looking out for, but wasnt able to test it as the requirement was changed & thus wasnt able to implement it, but got the whole thing from it. Thanks for the Code Mate. Obliged!
14 years ago
JSP
Basic thing is that i am not an expert in c:foreach tag, the prob is how to get the values using c:foreach
14 years ago
JSP
Hi,

I have issues in retrieving code while using <c:foreach> tag, the scenario is like this

Code is just for Understanding, nt real code, assume productList & imageList are both having values:

--------------This is my JAVA CODE------------------------------
List containedList = new Arraylist();
List productList = <getDetails>
List imageList = <getDetails>

containedList.add(productList);
containedList.add(imageList);
--------------This is my JAVA CODE------------------------------

I am passing this containedList obj to the JSP page, now here is the Issue, i am not aware how to retrieve the data from both "productList " & "imageList ", using c:foreach, if possible thru any other tag please suggest. Need is ASAP.

Thanks.



14 years ago
JSP
I dont think we have reached to any Concrete Answers; Calling All BigWigs of Java.
14 years ago