由买买提看人间百态

topics

全部话题 - 话题: checkbox
1 2 3 4 5 6 7 下页 末页 (共7页)
w*s
发帖数: 7227
1
Don't know how to describe this clearly,
i have a simple perl CGI code, running with lighttpd.
it has checkbox, if it's set, when you click "submit".
it will trigger my code in the background,
`set_my_value.exe 1`.
if no check that checkbox,
`set_my_value.exe 0`.
Now when i run Rapid7 nexpose, which is a security check application,
it can call my "set_my_value" directly.
So even i didn't check/uncheck the checkbox.
It's setting the values.
Seems lighttpd doesn't support perl taint mode (someone ... 阅读全帖
w*s
发帖数: 7227
2
【 以下文字转载自 BuildingWeb 讨论区 】
发信人: wds (净洗前尘,从头再来), 信区: BuildingWeb
标 题: reset button and checkbox question in the webpage
发信站: BBS 未名空间站 (Tue Nov 27 20:18:44 2012, 美东)
i'm using perl cgi.pm,
if the page has a checkbox, initially it's checked.
now i click the reset button in the page,
how to uncheck the checkbox ?
y******9
发帖数: 1392
3
来自主题: MedicalCareer版 - ERAS Selected Programs' Checkbox
大家好,我正在填ERAS的材料,刚刚选了一大堆的Program, 但是在 Apply to
programs那个页面里没有看到一个Program有Checkbox. 大家知道什么时候会有
checkbox来选并付款么?是9月15号才能看到checkbox么? 谢谢
w*s
发帖数: 7227
4
来自主题: BuildingWeb版 - perl cgi.pm checkbox reset question (转载)
【 以下文字转载自 Linux 讨论区 】
发信人: wds (净洗前尘,从头再来), 信区: Linux
标 题: perl cgi.pm checkbox reset question
发信站: BBS 未名空间站 (Wed Oct 31 19:01:08 2012, 美东)
i have a checkbox,
2 buttons: submit, reset.
when i click submit, my page can properly display "this button checked",
or "... unchecked".
but if it's in checked state, i press reset, never cleared.
tried examples online, doesn't work for me.
anyone can help me out ?
w*s
发帖数: 7227
5
i'm using perl cgi.pm,
if the page has a checkbox, initially it's checked.
now i click the reset button in the page,
how to uncheck the checkbox ?
s*****r
发帖数: 59
6
来自主题: Internet版 - how to pass checkbox value to php functi
how to pass a set of parameter in php code?
eg. user check a number of check box, and click ok, how could I pass the list
of all that checked box id to a function written by php? Thanks very much!
how could I pass the variables returned by the checkbox to the function:
move_file in php code ? (they are not in the same class).
I put checkbox inside a form, like this;

.....
i******t
发帖数: 19
7
The police noted a "SD" after the "radar" checkbox? What dose it mean? Dose
it stand for a specific model or just a standard one?
Thanks a lot!
w*s
发帖数: 7227
8
来自主题: Linux版 - perl cgi.pm checkbox reset question
i have a checkbox,
2 buttons: submit, reset.
when i click submit, my page can properly display "this button checked",
or "... unchecked".
but if it's in checked state, i press reset, never cleared.
tried examples online, doesn't work for me.
anyone can help me out ?
w*s
发帖数: 7227
9
How can Angularjs checkbox retain current value in different browser window ?
This might not be possible for angularjs, but say i have a check box page in
browser in the 1st pc, i checked some check boxes and clicked submit button.
Now in 2nd pc, i open this page again, what's the best way that the options
i just checked can show up as well ?
Certainly i can query back end for status, but any better ways ?
w*s
发帖数: 7227
10
就是今天的问题,
你在第一个电脑的网页set 几个checkbox options,
然后在第二台电脑网页上打开时可以看到这几个options。
我找了一圈什么例子没找到。
谢谢!
f*******4
发帖数: 64
11
来自主题: JobHunting版 - Homecox OJ BBS上线
// ==UserScript==
// @name homecox oj mark
// @namespace http://use.i.E.your.homepage/
// @version 0.1
// @description mark if has dealed
// @match http://homecox.com/oj/
// @copyright 20130911, fabregas4
// ==/UserScript==
function changhandler(event) {
if (event.target.checked) {
localStorage[event.target.name] = true;
} else {
localStorage.removeItem(event.target.name);
}
}
[].forEach.call(
document.getElementById('main').getElementsByTagName('... 阅读全帖
w*s
发帖数: 7227
12
checkbox webpage itself




s***f
发帖数: 173
13
来自主题: BuildingWeb版 - ASP 和DATABASE一问
其实主要是关于数据库的.
比如我有一个PAGE叫CREATE EVENT.ASP, 通过SUBMIT这个PAGE,
我想要在下一个PAGE(叫SHOW EVENT.ASP)中显示CREATE EVENT中选择的项目.
具体说就是, 在CREATE EVENT.ASP中有很多CHECKBOX(比如, FIRST NAME--CHECKBOX
LASTNAME--CHECKBOX EMAIL--CHECKBOX..), 那么我要在SHOW EVENT.ASP中显示CREATE
EVEN.ASP中已经选择了的CHECKBOX的选项的名字(比如FIRST NAME, EMAIL..), 并且后面
还要再加上TEXTBOX从而让USER去INPUT(比如就变成了,FIRST NAME -- TEXTBOX, LAST
NAME -- TEXTBOX..).
而且我被要求一定要将把被CHECK过的CHECKBOX的名字存储到DATABASE中. 我本来打算这
么做: 一个TABLE叫FIELD, 包括FIELDID,FIELDNAME.
但是我发现,如果这么做的话,比如第一次,我存储的结果是:
l**n
发帖数: 7272
14
来自主题: WashingtonDC版 - 人生, 最好不相见
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
http://www.w3.org/1999/xhtml">
http://gmpg.org/xfn/11">

音乐快递:【最好不相见】仓央嘉措诗 - 由没有期待发表 - 文学城



阅读全帖
s*****p
发帖数: 5342
15
来自主题: BuildingWeb版 - 土问题: how to check which key is pressed
我有一列checkbox,like




在multiselect function里我想查是否Shift键 is pressed down. 这个function怎么
写呀?
多谢!
b********s
发帖数: 12
16
来自主题: DotNet版 - dynamic change before refreshing
Sure,you can do that. You can combine javascript with asp.net. This because
you can associate html controls with javascript and embed those controls in
.aspx page just like what you usually do in .html page.All web controls
delivered by .net are server side controls by default. For your example
1>Use asp.net checkbox instead of html checkbox and set it as
autopostback.Whenever you click this checkbox,the page will be refreshed.
2>Use html checkbox instead of asp.net checkbox.Write javascript as
s***f
发帖数: 173
17
来自主题: BuildingWeb版 - 请问ASP高手
现在我有1个SELECT LIST, 1个CHECKBOX, 1个TEXTBOX (也是这么排练的)
我想用ASP这么做: 如果CHECKBOX被CHECK了,就将TEXTBOX的内容存到DATABASE中.
如果CHECKBOX没有被CHECK,就将SELECK LIST中的OPTION VALUE存到
DATBASE中.
可以用JAVASCRIPT做CHECKBOX是否被CHECK的判断,但是不可能将JAVASCRIPT的VARIABLE的
值和ASP代码建立联系. 因为JAVASCRIPT是CLIENTSIDE,ASP SERVERSIDE.
所以请教高手如何实现这一功能?
谢了!
s***f
发帖数: 173
18
来自主题: BuildingWeb版 - Ok leRe: 请问ASP高手
哦,我忘了说了,我用JAVASCRIPT不仅判断CHECKBOX是否被CHECK,而且要: CHECKBOX IS
CHECKED--->OPTION LIST DISABLED & TEXTBOX ENABLE .若CHECKBOX IS NOT CHECKED,反
之. 与此同时我本也想用JAVASCRIPT做个VAR,
返回一个VALUE来判定是否CHEKCBOX被CHECK,并且返回到ASP 代码中,后来一想这么做不对
,用ASP就可以解决这个问题.所以我不可能把以上2个主要问题放在一个JAVASCRIPT里面.
而且由于代码和调用的JAVASCIPT的较多,以上仅仅是一小部分,所以篇幅很有限,不能一下
解释清楚.

但是将JAVASCRIPT的VARIABLE的值PASS到ASP代码中是觉得不可能的.即便用RUNAT="SERVE
.
可以用JAVASCRIPT做CHECKBOX是否被CHECK的判断,但是不可能将JAVASCRIPT的VARIABLE的
w*s
发帖数: 7227
19
【 以下文字转载自 Linux 讨论区 】
发信人: wds (净洗前尘,从头再来), 信区: Linux
标 题: how to avoid security holes for perl CGI code using checkbox ?
发信站: BBS 未名空间站 (Thu Apr 18 19:01:05 2013, 美东)
Don't know how to describe this clearly,
i have a simple perl CGI code, running with lighttpd.
it has checkbox, if it's set, when you click "submit".
it will trigger my code in the background,
`set_my_value.exe 1`.
if no check that checkbox,
`set_my_value.exe 0`.
Now when i run Rapid7 nexpose, which is a security check applicatio... 阅读全帖
w*s
发帖数: 7227
20
【 以下文字转载自 Linux 讨论区 】
发信人: wds (净洗前尘,从头再来), 信区: Linux
标 题: how to avoid security holes for perl CGI code using checkbox ?
发信站: BBS 未名空间站 (Thu Apr 18 19:01:05 2013, 美东)
Don't know how to describe this clearly,
i have a simple perl CGI code, running with lighttpd.
it has checkbox, if it's set, when you click "submit".
it will trigger my code in the background,
`set_my_value.exe 1`.
if no check that checkbox,
`set_my_value.exe 0`.
Now when i run Rapid7 nexpose, which is a security check applicatio... 阅读全帖
H********g
发帖数: 43926
21
cleavage太变态了,茅斯运动的轨迹都收集
​One advantage that Google has over other companies is huge amount of
data. That data also includes the way you move your mouse on the screen.
The way a human moves the mouse before checking the checkbox can be distinct
from how a program (a bot) checks a checkbox.
It's a game of prediction. Somehow, Google needs to predict whether you are
human or a bot from what you do on their site.
So first a system needs to be trained to predict whether the user is human
or not... 阅读全帖
c*p
发帖数: 31
22
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: ccp (yeti), 信区: Programming
标 题: Per/CGI 表单:两类元素如何绑定?
发信站: Unknown Space - 未名空间 (Thu Mar 31 02:31:53 2005) WWW-POST
设计了这样一个表单界面:
[]0.bmp ()A ()B
[]1.bmp ()A ()B
.................
[]100.bmp ()A ()B
[submit]
Note:
[]:checkbox 选择文件
(): radio button 选择文件性质A or B,插入不同field in DB
这个界面是由前面负责转换文件的script产生的一个中间界面,动态的显示一系列转换过
的文件。
Question:
表单提交后,变量checkbox 和radion button 是不同的数组变量,怎样才能关联在一起
处理? 比如一个二位数组变量?(perl支持?) 还是别的方法?
或者界面不用checkbox?用其他的元素?
多谢各位相助!
c*o
发帖数: 70
23
来自主题: DotNet版 - Nested Datalist layout!!
Anyone know how to align the second checkbox in the 2 column rows to the
second checkbox of the 3 column rows? See the following picture:
http://www.geocities.com/audricawang/datalist.txt
The bold texts are a VS.net Repeater, in which I have the nested Datalist to
show checkboxes. I have tried almost every property of the datalist, but I
failed.
Thankssssssssssssssssssssssssss!
c*p
发帖数: 31
24
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: ccp (yeti), 信区: Programming
标 题: Per/CGI 表单:两类元素如何绑定?
发信站: Unknown Space - 未名空间 (Thu Mar 31 02:31:53 2005) WWW-POST
设计了这样一个表单界面:
[]0.bmp ()A ()B
[]1.bmp ()A ()B
.................
[]100.bmp ()A ()B
[submit]
Note:
[]:checkbox 选择文件
(): radio button 选择文件性质A or B,插入不同field in DB
这个界面是由前面负责转换文件的script产生的一个中间界面,动态的显示一系列转换过
的文件。
Question:
表单提交后,变量checkbox 和radion button 是不同的数组变量,怎样才能关联在一起
处理? 比如一个二位数组变量?(perl支持?) 还是别的方法?
或者界面不用checkbox?用其他的元素?
多谢各位相助!
d*o
发帖数: 108
25
来自主题: Java版 - compiling problem
Strange problem. Got the error message:
Class html.CheckBox not found in java.awt.Component
createComponent(java.awt.Container)
But Checkbox is from the standard library. Why the compiler can't
find it? Interesting enough, if i isolate that CheckBox class, it
dont' complain anymore. any idea? thanks.
l********e
发帖数: 3999
26
来自主题: Programming版 - 问个wxpython的问题
我实现的界面里有2个checkbox,当我用tab键focus到这2个checkbox上时,没有明显的
指示表示我已经focus上了,我看到有些商业软件,当checkbox被focused时,后面的
label会有一个虚线的边框,请问这个是怎么实现的?我google的结果,貌似需要改UI
state,但是不知怎么改。谢谢。
p********a
发帖数: 5352
27
来自主题: Statistics版 - [合集] SAS base exam questions
☆─────────────────────────────────────☆
figgo (千斤顶) 于 (Sun Jan 14 02:34:41 2007) 提到:
我最近在准备sas base exam,一直在看那个SAS online tutor9.1:programming,发现
内容很多。今天对比了一下那个50题,发现大部分题都是data step的,请问考过的同
学们,是不是说那个tutor是全部包括的,真要是准备考试并不合适?那大概看到哪一
步就差不多了?其他还有什么online available的复习材料吗?谢谢先!那个tutor 的
learning path 是这样的:
Introduction to SAS Programming
Checkbox Basic Concepts
Checkbox Using the Programming Workspace
Checkbox Referencing Files and Setting Options
Checkb
l*******e
发帖数: 1869
28
https://www.regulations.gov/document?D=USBC-2018-0005-0001
美国 2020 年人口普查正在征求意见,有人已经设计好了表格,在普查的时候,要对亚
裔细分,请到以上网站的 comment 处留言,就说你反对亚裔的更细划分。
模板留言可以是 :
I urge the Bureau to change the format of the race question by removing
Chinese, Vietnamese, Japanese, and other sub-Asian checkboxes, and replacing
them with a generic Asian/Asian American checkbox. This is the least you
can do to ensure that Asian Americans are treated equally as while and Black
Americans.
留言截至日期 8/7
l*******e
发帖数: 1869
29
【 以下文字转载自 Military 讨论区 】
发信人: lightblue (clear), 信区: Military
标 题: 8/7 前请到2020人口普查网站留言 反对亚裔细分
发信站: BBS 未名空间站 (Mon Jul 23 00:23:40 2018, 美东)
https://www.regulations.gov/document?D=USBC-2018-0005-0001
美国 2020 年人口普查正在征求意见,有人已经设计好了表格,在普查的时候,要对亚
裔细分,请到以上网站的 comment 处留言,就说你反对亚裔的更细划分。
模板留言可以是 :
I urge the Bureau to change the format of the race question by removing
Chinese, Vietnamese, Japanese, and other sub-Asian checkboxes, and replacing
them with a generic Asian/Asian American checkbox. This is th... 阅读全帖
h*********2
发帖数: 192
30
大家好,
我的tax status 是 residence
我用freefilefillableforms填了1040,填了8833, 填了W-2表格。提交之后IRS发来拒
信:
Issue : Business Rule FW2-001-01 - The sum of all Form W-2s Line 1 'Wag
esAmt' must not be greater than the sum of [Form 1040, Line 7 'WagesSalaries
AndTipsAmt' and (sum of all Schedule C (Form 1040), Line 1 'TotalGrossReceip
tsAmt' when Line 1 checkbox 'StatutoryEmployeeFromW2Ind' is checked) and (su
m of all Schedule C-EZ (Form 1040), Line 1 'TotalGrossReceiptsAmt' when Line
1 checkbox 'StatutoryEmpl... 阅读全帖
b******l
发帖数: 1632
31
来自主题: Thoughts版 - Cterm 咋设缺省浏览器啊?
见图。之前屡次把 System Default 选为 Custom,然后把 default Web Browser 选为
Firefox,但是,右侧那个 Enable access to this program 的 Checkbox 一直是灰
的,不可选。每次设置后,再次打开这里,default Web browser 又被系统重新选为
Use my current Web browser。
而在 firefox 里重新设置 system defaults 后,这个 Enable access to this
program 的 Checkbox 就可选了。
猜测是:搜狗把 default browser 设为自己的同时,通过不知什么方式,disable 了
系统对 firefox 的 access。以至于无法在 All programs => set programs and
defaults 这里重新把 firefox 设为 default (但也不报错)。这时,IE 和 FF 都不
是 system default,所以系统会优先用 IE。
a*****y
发帖数: 33185
32
mitbbs的机制应该还是要懂的,但是源码看上去也不长,就公开的。
// ==UserScript==
// @name mitbbs
// @namespace smalltalk80.cn
// @description mitbbs
// @include http://www.mitbbs.com/*
// @include http://mitbbs.com/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js
// ==/UserScript==
var STORAGE_KEY = "mitbbs.blacklist";
var HIDE_BUTTON_TEXT = "x";
/** Retrieves an array of names from browser storage. */
function loadBlacklist() {
var s = localStorage.getItem... 阅读全帖
d**k
发帖数: 1223
33
俺有一个pdf文件,都是software生成的,文件中其中有几个checkbox, 就是那种方块
儿。根据具体情况,pdf 生成的时候,有些checkbox会被选中,(在方框里打个"X").
然后我可以把save 或者 打印这些文件。但是,如果我用mac (我试了mac notebook)
打开pdf, 那些被选中的check box里的"X" 都没有显示,只剩吓一个空的方框。如果在
PC上,则没有任何问题。请问班上用mac的同学有没有类似的问题?是不是pdf reader
的问题?谢谢了。
b******v
发帖数: 1493
34
来自主题: Apple版 - 求推荐好用的notes app
evernote的缺点是,免费账户所有notes都需要网络才能访问。
Microsoft onenote看起来很promising: 支持离线,bullets, checkboxes, 插图,和
skydive同步等。
awesome notes现在很火。不过一则太花哨,再则真正的笔记功能有限。而且它的
calendar功能与iphone自带的calendar功能重叠,又不如自带的好用。给人华而不实的
感觉。
还有notemaster也不错,支持粗体,bullets, checkboxes, 插图,和Google Docs同步
等。不过界面差了点。
C********r
发帖数: 145
35
Sorry, I have no Chinese software on this machine...
I am new to WPF and Infragistics Controls. I am trying to accomplish a
seemly simple task. use Xamdatagrid to display a collection of data records
retrieved from database.Besides the columns from the data records, I want an
additional unbounded column to contain a checkbox. I am having a really
hard time to get the databinding to work. I have spend 2 days to look up
examples and tutorials but none are complete or easy to understand(for me at
l... 阅读全帖
c*y
发帖数: 137
36
来自主题: Java版 - javascript question
For example, if you want to display an alert window when a checkbox is
checked,
w*s
发帖数: 7227
37
网页打开都没问题,你点个checkbox,然后按submit,
后台就把用一个小程序把debug_level turn on.
如果uncheck,再submit, debug level就off。很简单的CGI。
但用上述的那个web security application来攻击我的网页,
很容易就把我的debug level改来改去。
我估计就是从网页的源程序看见有这个checkbox,然后模拟把check或者uncheck往web
server上送。
server分不清是不是用户从网页上click的,于是也傻呼呼地执行了。
当然是我傻。
但不知道怎么改。有劳大侠了。
w*s
发帖数: 7227
38
So i have a checkbox page barely working, the issue is when i first start
this page, the checkbox is not checked, even though i try to initialize it
from backend node server. No error in browser debugger though.
我也觉得是json用错了用法,那么大家说说我node跟angular之间json应该怎样写才对
?谢谢again!
s*****r
发帖数: 59
39
来自主题: XML版 - passing paramet from html to php
how to pass a set of parameter in php code?
eg. user check a number of check box, and click ok, how could I pass the list
of all that checked box id to a function written by php? Thanks very much!
how could I pass the variables returned by the checkbox to the function:
move_file in php code ? (they are not in the same class).
I put checkbox inside a form, like this;

.....
m****s
发帖数: 18160
40
来自主题: board版 - [合集] 申请 History版主
☆─────────────────────────────────────☆
shaver (首都女民兵方阵保健委员) 于 (Tue Oct 26 23:08:54 2010, 美东) 提到:
是否已阅读:1)《站规》2)《版务操作简易手册》?:
已经阅读相关规则和手册
[申请ID]:
shaver
[申请版面]:
History
[申请职务]:
版主
[版务经验]:
长期担任chinanews, detective, joke版版副。 有丰富的处理网友纠纷, 整理版面的
经验
[申请纲领]:
希望将history搞成一个ID文明发言, 自由发言的版面。 希望将版面建设成一个ID乐
于进行有深度的探
讨, 乐于发表有见解的历史文章的版面。
[版规草案]:
主要是禁止PA粗口刷版, 按情节轻重予以警告和封禁等处理。只要版面良好的讨论风
气建立起来, 我相信
不会有很多人会热衷于和版规过不去的
☆─────────────────────────────────────☆
hairi (搞一个女机器人当情妇) 于 (Tue Oct 26 23:52:55 2010, 美... 阅读全帖
P*V
发帖数: 587
41
原来老guy同志是给美军分析网络的工作人员阿?
石井石井
发信人: oldguy (老人), 信区: Military
标 题: Re: 华尔街日报:中国一些人同情,一些人窃喜
发信站: BBS 未名空间站 (Sat Mar 12 09:08:35 2011, 美东)
老夫给美国联邦政府工作。
NED是民营机构。
发信人: oldguy (老人), 信区: Military
标 题: Re: 华尔街日报:中国一些人同情,一些人窃喜
发信站: BBS 未名空间站 (Sat Mar 12 09:02:48 2011, 美东)
网络舆论分析啊。

发信人: oldguy (老人), 信区: Military
标 题: Re: 华尔街日报:中国一些人同情,一些人窃喜
发信站: BBS 未名空间站 (Sat Mar 12 08:58:52 2011, 美东)
爱好啊。
发信人: oldguy (老人), 信区: Military
标 题: Re: 华尔街日报:中国一些人同情,一些人窃喜
发信站: BBS 未名空间站 (Sat Mar 12 08:59:34 2011, 美东)
工作的一部... 阅读全帖







P*V
发帖数: 587
42
刚知道
我太傻le
td>
同时发文到我的博客(注意: 不支持带附件的文章) td>
验证码: maxlength="8">







P*V
发帖数: 587
43
本人真心感谢你的工作阿
深海同志,辛苦了
td>
同时发文到我的博客(注意: 不支持带附件的文章) td>
验证码: maxlength="8">







P*V
发帖数: 587
44
来自主题: Military版 - EUV,早啊
刚起床,还没有刷牙呢
你不是不来军版了么?
td>
同时发文到我的博客(注意: 不支持带附件的文章) td>
验证码: maxlength="8">







P*V
发帖数: 587
45
来自主题: Military版 - EUV,早啊
不客气,我要去刷牙了
刚起床,还没有刷牙呢
你不是不来军版了么?
td>
同时发文到我的博客(注意: 不支持带附件的文章) td>
验证码: maxlength="8">







P*V
发帖数: 587
46
来自主题: Military版 - 破帽怎么一直没有上线?
RE
td>
同时发文到我的博客(注意: 不支持带附件的文章) td>
验证码: maxlength="8">







P*V
发帖数: 587
47
来自主题: Military版 - 板上还有谁拿钱发贴阿?
那个是wb阿
td>
同时发文到我的博客(注意: 不支持带附件的文章) td>
验证码: maxlength="8">
1 2 3 4 5 6 7 下页 末页 (共7页)