On Tue, April 11, 2006 1:58 pm, Richard Dyce wrote:
> The alert is working (so the parameter is being passed), but the
> reload isn't. What am I doing wrong?
Here is what I do when JavaScript doesn't do what I expect:
> function reloadCalendar(yearMonth) {
> alert(yearMonth);
> var URL = 'server.php?yearmonth=' + yearMonth;
alett('URL: ' + URL);
alert(document);
alert(document.getElementById('calendarFrame'));
alert('before: ' + document.getElementById('calendarFrame').location);
> document.getElementById('calendarFrame').location.replace(URL);
alert('after: ' + document.getElementById('calendarFrame').location);
> return false;
> }
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php