[python-chinese] django中html页面动态生成时的记忆功能
Samuel Chi
princeofdatamining在gmail.com
星期六 四月 28 12:00:44 HKT 2007
XMLHttpRequest
ÔÚ07-4-28£¬mvfirst <mvfirst在126.com> дµÀ£º
>
> ´ó¼ÒºÃ£º
> ÎÒÓÃindex¶¯Ì¬Éú³ÉÒ»¸öÒ³Ãæ£¬¸ÃÒ³ÃæÒªÇóÓû§ÌîдÎı¾¿ò"test"£¨<form>µÈ¾ÍÊ¡ÂÔÁË£©
> Èç¹û testÄÚÈݲ»ºÏ¸ñ£¬¾ÍÒªÖØÐÂÐ޸쬵«Ò»µ©µ÷ÓÃHttpResponse(..)£¬¾ÍÓÖ´´½¨ÁËÒ»±ß£¬
> ´ËʱtestÚ²¾Í»á±»Çå¿Õ£¬¶ø²»ÊÇÉÏ´ÎÓû§ÊäÈëµÄÄÚÈÝÁË¡£
> Èç¹ûʹtest±£ÁôÉÏ´ÎÊäÈëµÄÄÚÈÝÄØ£¿µ±È»£¬³ÌÐò¶à×÷Щ´¦Àí¿ÉÒÔʵÏÖ£¬µ«ÊÇ·ñÓмòµ¥µÄ·½·¨£¿
>
> def index(request):
> str_page = """
> <table>
> <tr><td><input type="text" name="test" value=%s></td></tr>
> </table>
> """
> return HttpResponse(str_page£©
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070428/4ce33d31/attachment.html
关于邮件列表 python-chinese 的更多信息