我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

使用Symfony2自动完成

I've an input text field and with a simple AJAX, my user insert 2 or 3 letters and get the occurence from my entity. How to add an entity in a input text field as an autocomplete with Symfony2 ? Thanks for your help.

You can try GenemuFormBundle which has an interface to jQuery UI autocomplete. You can have a look at documentation here: https://github.com/genemu/GenemuFormBundle/blob/master/Resources/doc/jquery/autocomplete/index.md

近期文章

  • jQuery $ .ajax错误处理[重复]
  • 使用Ajax自动刷新
  • 没有计时器的Asp.net聊天[关闭]
  • XMLHttpRequest不起作用
  • jQuery事件未触发
  • Ajax调用循环,Ajax jQuery
  • Div在Firefox中未显示
  • 嵌套的UpdatePanel行为
  • JQTouch切换页面错误
  • onfocus和jQuery-困境
  • PHP和XML-删除节点
  • 更新内容ajax中的错误
  • jQuery状态200正常错误[关闭]
  • PHP与AJAX和MySQL集成
  • GAE + Python2.7 + webapp2 + AJAX
  • 返回jQuery Ajax发布
  • 更新面板或Ajax调用
  • 在TinyMce中加载html文件
  • 动画jQuery ajax结果
  • 不触屏幕如何隐藏布局

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华