buttons kan ikke registreres i pop-up
jeg fatter ikke hvorfor jeg ikke kan fange min button. jeg får fejl ved newevent som firebug fortæller mig er = null, hvilket i mit hovede ikke giver mening.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>My Google Data API Application</title>
<LINK rel="stylesheet" type="text/css" href="../inc/style/timeout_style_print.css">
<script src="http://www.google.com/jsapi?key=ABQIAAAA-4DPu8eLSXMGJBa1LCchkhQH9W39-xhJgRxDecUFR532IY3yLBRMWPH6xjGJncGUW0pt06u6fNf4bw"
type="text/javascript"></script>
<script language="javascript">
google.load("gdata", "1");
</script>
</head>
<img src="anything.gif" style="position: absolute; top: -1000px;" />
<body>
<div id="information"></div><br />
<div id="events"></div><br />
<form name="googlesync" action="" method="post">
<script type="text/javascript">
function logMeIn() {
scope = "http://www.google.com/calendar/feeds/";
var token = google.accounts.user.login(scope);
}
function setupMyService() {
myService = new google.gdata.calendar.CalendarService('TimeoutCal');
logMeIn();
}
function logMeOut() {
document.getElementById("login").disabled = false;
document.getElementById("logout").disabled = true;
document.getElementById("synchronize").disabled = true;
google.accounts.user.logout();
}
</script>
<script>
document.googlesync.newevent.style.visibility = 'visible';
document.googlesync.synchronize.style.visibility = 'visible';
</script>
<b>Title:</b> outzource<br><b>participants:</b> ,jack dizzle,jd@outzource.dk<br><b>Planlagt:</b> 2008-10-08 05:00:00 - 2008-10-08 06:30:00<br />
Timeout Intellisync er i tvivl om hvilke af disse kunder der passer til din googlepost:
<select name="selCustomer_1" id="selCustomer_1">
<option value="32">OutZourCE</option>
<option value="">ingen</option>
</select>
<hr />
<br />Timeout Intellisync fandt perfekt match til 0 poster<br />Timeout Intellisync fandt mulige kunder til 1 post<br />Timeout Intellisync var ude af stand til at matche 1 post<br />Timeout Intellisync ignorerede 3 poster<br />
<input type="button" value="login" id="login" name="login" onclick="logMeIn()" style="visibility:hidden"/>
<input type="button" value="logout" id="logout" name="logout" onclick="logMeOut()" style="visibility:hidden"/>
<input type="button" value="opret ny aftale" id="newevent" name="newevent" onclick="location='crmhistorik.asp?menu=crm&shownumofdays=5&func=opret&id=0&ketype=e&selpkt=kal&showinwin=j'" style="visibility:hidden"/>
<input type="button" id="synchronize" name="synchronize" value="Valider oplysninger" onclick="submit()"/>
