>
> But I've found this in the A helper:
>   self['_onclick']="ajax('%s',[],'%s');%sreturn false;" % \
>     (self['callback'],self['target'] or '',d)
>
> The single quotes are there regardless the type of target.
>
> So how can I specify any target of type other than string?
>
> Yes I know if I use ':eval' and I return "myFunction('param')" then it 
> will evaluate it, but the question is not that :)
> How can I get into the "else" section of the quoted js code?
>

It appears you cannot when using the A() helper to generate the call to 
ajax(). I think you'll have to manually construct the "onclick" attribute 
rather than rely on passing the "callback" and "target" arguments to A().

Anthony 

Reply via email to