[Klone-users] Onclick-Events
diakat 2000
diakat2000 at googlemail.com
Mon Mar 10 09:43:58 EDT 2008
Hello,
I've just another newbie question: How could I do event handling with
C/C++ functions?
I've a form with serveral input field. I' m able to access on a sqlite
database and display some values in the fields. Now I want to save
user changes back in database. But something goes wrong. My code looks
like:
// C method
int dbSaveDescriptionAll ()
{
... saving all Fields in database (sqlite)
return 1;
}
// my form
<form action ="testpage.kl1" method ="post" enctype="multipart/form-data">
.... // some input-fields
// my form button
<% io_printf (out, <input type= \"button\" name = \"bt_save"
value=\"save\" onclick= \"dbSaveDescriptionAll()\"/>");
%>
It seems that the function dbSaveDescriptionAll() is uncalled.
I hope somebody could tell me what I'm doing wrong.
Ciao
More information about the klone-users
mailing list