myCode to trigger event?
#1
Is it possible for myCodes to trigger any events?

I want to use a myCode and have this update a database table with a counter.

Dan
Reply
#2
Something like this?

function update() {
new Ajax.Request('/update.php, { method:'get' });
}

<a href="javascript:void(0);" onclick="javascript:update();">Update</a>


No longer involved in the MyBB project.
Reply
#3
(2011-09-02, 05:59 AM)Malcolm. Wrote: Something like this?

function update() {
new Ajax.Request('/update.php, { method:'get' });
}

<a href="javascript:void(0);" onclick="javascript:update();">Update</a>
OffTopic:Malcolm what can't you do?
OnTopic:His code would be exactly right lol
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)