I didn't check in depth or test this, but it sounds like something like this would work:
function setToMonthYear()
{
var d = new Date();
var firstValue = $("#availBetweenSlider").s
var month = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug',
'Sep', 'Oct', 'Nov', 'Dec'];
if (firstValue < 0 || firstValue > 35)
return;
$("#minAvailBetweenValue")
}
Main Topics
Browse All Topics





by: x_comPosted on 2009-07-14 at 22:00:31ID: 24856473
Hi Steggs, sref/jsref _eval.asp
You can use javascript built-in function - eval() to reuse the declared variables.
The details of this function can be checked here:
http://www.w3schools.com/j
Note: You can apply it under your real environment.
eg:
Select allOpen in new window