[Proto-Scripty] Problem with insert ()

2009-09-20 Thread ohnesorge
Hey there, I've got a wired problem with insert (). Here is a snippet of my code: chkMsg = new Ajax.PeriodicalUpdater ('', '/ajax/chkmgs.php', { method: 'get', frequency: 2, decay: 1.5, onSuccess: function test (originalRequest) { var reg = /id="newMessage(\d+)/;

[Proto-Scripty] problem with insert inside an event handler

2009-03-12 Thread arkady
i have a form with a submit button. the 'onclick' event is supposed to insert 10 rows into a table. when you press the button, the table blinks. all the elements are inserted and just as quickly deleted again. please help. this also happens when with other elements --~--~-~--~~-