使用Firefox的组件Firebug已经有段时间了,不是经常使用,但一旦使用,则发挥很大的调试作用,在《[url=http://ricki.iteye.com/blog/830330]ExtJs3.2.2使用combo实现自动完成(即动态查询)[/url]》中Ricki就用到了它,如当用户在输入框中输入字符时,combobox处理自动完成时,传送给服务器的参数如下:
[url=http://hongfanshu.blogbus.com/][img]http://dl.iteye.com/upload/attachment/359934/61a85ee3-e794-3e90-a581-86da01d05583.jpg[/img][/url]
但用户单击的是combobox的下拉框式,传送给服务器的参数如下(其中triggerAction的值为'all'):
[url=http://hongfanshu.blogbus.com/][img]http://dl.iteye.com/upload/attachment/359936/43e5ea4e-36be-3bcd-b42f-5c6dd9ad93f0.jpg[/img][/url]
从这里也可知,当triggerAction的值为'all',是不会把输入框的值作为参数的值传递给服务器的。
firebug的下载地址:https://addons.mozilla.org/zh-CN/firefox/addon/1843/
有空的话,欢迎到[url=http://hongfanshu.blogbus.com/]红番薯[/url]逛逛
[url=http://hongfanshu.blogbus.com/][img]http://dl.iteye.com/upload/attachment/359934/61a85ee3-e794-3e90-a581-86da01d05583.jpg[/img][/url]
但用户单击的是combobox的下拉框式,传送给服务器的参数如下(其中triggerAction的值为'all'):
[url=http://hongfanshu.blogbus.com/][img]http://dl.iteye.com/upload/attachment/359936/43e5ea4e-36be-3bcd-b42f-5c6dd9ad93f0.jpg[/img][/url]
从这里也可知,当triggerAction的值为'all',是不会把输入框的值作为参数的值传递给服务器的。
firebug的下载地址:https://addons.mozilla.org/zh-CN/firefox/addon/1843/
有空的话,欢迎到[url=http://hongfanshu.blogbus.com/]红番薯[/url]逛逛