The first argument of ajax should be a URL.
I do not know what self.itemize0 is. Does it generate a URL?

On Nov 5, 4:03 pm, Wes James <[email protected]> wrote:
> I have this:
>
> INPUT(_type='button', _value='search',_onclick="ajax('', [], 'itemize')")
>
> reload page - works fine:
>
> Then change to this:
>
> INPUT(_type='button',
> _value='search',_onclick="ajax('{{=self.itemize0(db.qpac,
> nitems=12)}}', [], 'itemize')")
>
> I then get:
>
> SyntaxError: unexpected character after line continuation character
>
> -wes
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to