Hi. I'm still somewhat new, and tinkering around with the tutorial
blog application, and having some trouble when trying to create an
ajax-ified comment submission form, specifically with the url that the
form ends up submitting to. This is the code I'm using for the form:
create('Comment',
arra
Are you sure that 'loaded' is appropriate? Are you loading anything
into the page? Try 'success' instead.
On Fri, Apr 18, 2008 at 9:55 PM, MB <[EMAIL PROTECTED]> wrote:
>
> Here is my submit button --
>
> print $ajax->submit('Save', array('url' => '/klasses/addlink',
> 'loaded'=>'closesubject(
Here is my submit button --
print $ajax->submit('Save', array('url' => '/klasses/addlink',
'loaded'=>'closesubject()'));
The save works but the 'closesubject()' function which is a javascript
doesnt ever seem to get called.
Here is the javascript:
function closesubject(form)
{
window.