B
Ben
Hello,
I'm trying to write a calendar control, just to get used to JavaScript, and
the code works just fine on IE. The problem is if I try to run the code on
Navigator 7.1 when I try to navigate either a month forward or a month
backward it simply redisplays the current month. I believe the problem is
in the line:
location.search = '?datetime=' + dtObj;
I'm simply trying to set the query string and passing in a timestamp. as the
query parameter.
on the .html page that I'm rendering I have the following code to extract
the datetime query value:
var re_url = new RegExp('datetime=(\\-?\\d+)');
var selectedDay = (re_url.exec(String(window.location)) ? new Date(new
Number(RegExp.$1)) : new Date());
From IE 6. I extract the querystring just fine, but in Navigator 7.1 when I
arrive on the page for the second time, the query value is blank!
Does anyone know the reason?
Thanks,
Ben
I'm trying to write a calendar control, just to get used to JavaScript, and
the code works just fine on IE. The problem is if I try to run the code on
Navigator 7.1 when I try to navigate either a month forward or a month
backward it simply redisplays the current month. I believe the problem is
in the line:
location.search = '?datetime=' + dtObj;
I'm simply trying to set the query string and passing in a timestamp. as the
query parameter.
on the .html page that I'm rendering I have the following code to extract
the datetime query value:
var re_url = new RegExp('datetime=(\\-?\\d+)');
var selectedDay = (re_url.exec(String(window.location)) ? new Date(new
Number(RegExp.$1)) : new Date());
From IE 6. I extract the querystring just fine, but in Navigator 7.1 when I
arrive on the page for the second time, the query value is blank!
Does anyone know the reason?
Thanks,
Ben