How to change the name field of an <input> in an AJAX-driven page?

血红的双手。 提交于 2019-11-29 16:48:14

If the input name is just q, by itself, then merely change the waitForKeyElements call to:

waitForKeyElements ("input[name='q']", changeLinkQuery);

So that it looks for exactly q, rather than a q anywhere in the string.


If that's not exactly the name of that <input>, comment below.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!