新程序员-在选择框上找不到脚本 [英] New Programmer- Can't Find the Scripting On A Select Box

查看:115
本文介绍了新程序员-在选择框上找不到脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.我在网站中无法找到此选择框的"onClick"或类似操作.我无法在此处发布整个网站,但是有什么想法可以找到呢?没有包装< form> ;,并且一旦选择了值,就动态地更新搜索.除了这里,我在任何地方都找不到"perPage"变量.

Hello all. I am having trouble finding the "onClick" or comparable action for this select box within the site. I can''t post the entire site here, but any ideas where I might look to find it? There is no wrapping <form>, and once a value is selected, the search is dynamically updated. I can''t find the "perPage" variable anywhere but here.

<select id="perPage" name="perPage">
   <option value="40">40</option>
   <option value="80">80</option>
   <option value="120">120</option>
   <option value="160">160</option>
   <option value="ALL">All</option>
</select>



任何帮助深表感谢!



Any help is much appreciated! thanks!

推荐答案

您需要使用onChange事件.

请参见 http://www.comptechdoc.org/independent/web/cgi/javamanual/javaselect.html [^ ]和 http://www.javascriptkit.com/jsref/select.shtml [
You need to use the onChange event.

See http://www.comptechdoc.org/independent/web/cgi/javamanual/javaselect.html[^] and http://www.javascriptkit.com/jsref/select.shtml[^] for examples.


这是一个asp .net网站?使用ajax吗?

编辑================

你没有回答我的问题,但是很好.

查看您的站点文件夹中是否有任何.js文件,并查找类似于初始化下拉列表的内容.

如果失败,请从动态更新的搜索"开始,然后从那里反向进行.

我不知道为什么当您的问题甚至无法帮助我们为您提供帮助时,我的答案为什么会被1票否决.
Is this an asp.net web site? Is it using ajax?

EDIT ================

You didn''t answer my question, but okay.

See if you have any .js files in your site folder, and look for anything that looks like initialization of a dropdown list.

Failing that, start at "the search" that gets dynamically updated, and work backwards from there.

I don''t know why my answer got 1-voted when your question doesn''t even come close to helping us to help you.


这篇关于新程序员-在选择框上找不到脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆