I cannot say without looking at the rest of the code.
On Feb 23, 1:18 pm, Jim <[email protected]> wrote:
> I'm using the AJAX search example from the manual.
>
> def add_message():
> response.title="Add Message"
> return dict(form=FORM(INPUT(_id='keyword',
> _onkeyup="ajax('add_issue_find',
> ['keyword'],'target');")),
> target_div=DIV(_id='target'))
>
> If I call this as "/add_message" it works fine.
>
> If I call it as as "/add_message/", I get the page repeated at the
> search box.
>
> -----------------------------
> Logo
> | search [ ]
> | --------------------------------
> | Logo
> | | search [ ]
>
> I've tried testing for empty argument and setting keyword = '' but
> that doesn't help.
>
> I'm obviously new to programming, python and web2py so sorry if
> there's an obvious fix.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---