Dear Sir,
Hello ! Please let me know how to access current event data from the bubble to
update the table, it used to fill xml which in turn is used by loadxml.
<script src="http://simile.mit.edu/timeline/api/timeline-api.js"
type="text/javascript"></script>
<script>
var oldFillInfoBubble =
Timeline.DefaultEventSource.Event.prototype.fillInfoBubble;
Timeline.DefaultEventSource.Event.prototype.fillInfoBubble =
function(elmt, theme, labeller) {
oldFillInfoBubble.call(this, elmt, theme, labeller);
var eventObject = this;
var div = document.createElement("div");
div.innerHTML = "<input type='checkbox' /> Dibatable/Inappropriate";
div.firstChild.onclick = function()
{
}
elmt.appendChild(div);
var div2 = document.createElement("div2");
div2.innerHTML = "<input type='button' value = Update>";
div2.firstChild.onclick = function()
{
alert("Clicked me");
}
elmt.appendChild(div2);
}
</script>
Here in above div2.firstChild.onclick = function() => I want to call my php
function to update table and for that I need to pass current event Id and the
value of checkbox, so please guide me how to do so.
Thanks & Regards,
Nbt
---------------------------------
Check out the hottest 2008 models today at Yahoo! Autos._______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general