开发者

Can I create a django widget which posts back the form on a mobile?

I would like to create a widget for use in Django Forms. There is a problem though: i don't know how to make it properly work on a mobile. I'm wanting to create something like this:

Send message to: search-box-here search

and pressing search will post the page, but not actually submit the form at开发者_如何转开发 all. instead the widget will perform a search of friends, and return them in a list like this:

Send message to: search-box-here search

Add Person Bob Smith

Add Person John Smith

Does anyone know how I would get the bare-bones of doing this. I know I can do this with javascript, but most mobile web browser do not support JavaScript at all, never mind any AJAX tech.

Joe


Mobile browsers are so limited, look at how gmail does it for example. It shows you top 10 recent recipients and text box to search for others.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜