Thanks, in which file is saveSettings() found? -----Original Message----- From: Nicklas Nordborg [mailto:nick...@thep.lu.se] Sent: 16 January 2009 14:37 To: BASE ML Subject: Re: [base] ajax request
Offord, Victoria wrote: > When adding a user I need to also update an external database. For this > I was hoping to add an Ajax command to pass variables to a perl script > (i.e. name, email, login). I wanted to attach this command to the: > > > > <div class="buttonclass" onclick="saveSettings()" onmouseout="this.className='buttonclass';" onmouseover="this.className='buttonclass_hover';"> > This is generated by the <base:button> tag near the very end of the edit_user.jsp file, but I think it is better if you add your script to the saveSettings() function since this will also validate the input. /Nicklas ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ The BASE general discussion mailing list basedb-users@lists.sourceforge.net unsubscribe: send a mail with subject "unsubscribe" to basedb-users-requ...@lists.sourceforge.net ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ The BASE general discussion mailing list basedb-users@lists.sourceforge.net unsubscribe: send a mail with subject "unsubscribe" to basedb-users-requ...@lists.sourceforge.net