本文介绍了按下时冷却提交按钮切换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 前几天我在某处看到了它,只是在pear.php.net 搜索页面上再次看到它。当您点击提交时按钮,它切换为灰色 out处理按钮按钮。我瞥了一眼消息来源,但我什么都没看到 特别。有谁知道这是怎么做的? 谢谢, -G 解决方案 2003年12月1日星期一00:39:19 GMT,Greg Bryant< br ********** @ yahoo.com>写道: 我前几天在某处看到了它,只是在pear.php.net 搜索页面上再次看到它。当您点击提交时按钮,它切换到灰色的处理按钮。按钮。我瞥了一眼消息来源,但我看不到任何特别的东西。有谁知道这是怎么做的? JavaScript。 - Andy Hassall( an**@andyh.co.uk)icq(5747695)( http://www.andyh .co.uk ) 空间:磁盘使用情况分析工具( http://www.andyhsoftware.co.uk/space ) *** Greg Bryant写道/escribió(周一,12月1日) 2003 00:39:19 GMT):前几天我在某处看到了它,只是在pear.php.net 搜索页面上再次看到它。当您点击提交时按钮,它切换到灰色的处理按钮。按钮。我瞥了一眼消息来源,但我看不到任何特别的东西。有谁知道这是怎么做的? 它可能使用一些好的旧JavaScript来改变禁用 属性按钮。再次检查源代码,你会发现它。 - - - álvaroG。Vicario - 西班牙布尔戈斯 - " Greg Bryant" <峰; br ********** @ yahoo.com> schrieb im Newsbeitrag 新闻:Xn ********************************** @ 199.45 .4 9.11 ... 前几天我在某处看到了它,只是在 pear.php.net搜索页面上再次看到它。当您点击提交时按钮,它切换到灰色的处理按钮。按钮。我瞥了一眼消息来源,但我没看到有什么特别之处。有谁知道这是怎么做的? 谢谢, -G 试试这个: < input type ="提交"命名= [提交" value =" Jetzt anmelden" OnClick =" this.disabled = true; this.form.submit();"> 更改文字添加" this.value =''processing'';" Ingo(德国) I saw it somewhere the other day, and just saw it again on the pear.php.netsearch page. When you click the "submit" button, it switches to a grayedout "processing" button. I glanced at the source, but I don''t see anythingspecial. Anyone know how this is done?Thanks,-G 解决方案 On Mon, 01 Dec 2003 00:39:19 GMT, Greg Bryant <br**********@yahoo.com> wrote: I saw it somewhere the other day, and just saw it again on the pear.php.netsearch page. When you click the "submit" button, it switches to a grayedout "processing" button. I glanced at the source, but I don''t see anythingspecial. Anyone know how this is done?JavaScript.--Andy Hassall (an**@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk)Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)*** Greg Bryant wrote/escribió (Mon, 01 Dec 2003 00:39:19 GMT): I saw it somewhere the other day, and just saw it again on the pear.php.net search page. When you click the "submit" button, it switches to a grayed out "processing" button. I glanced at the source, but I don''t see anything special. Anyone know how this is done?It''s probably using some good old JavaScript to change the "disabled"attribute of the button. Check source code again and you''ll find it.------ álvaro G. Vicario - Burgos, Spain--"Greg Bryant" <br**********@yahoo.com> schrieb im Newsbeitragnews:Xn**********************************@199.45.4 9.11... I saw it somewhere the other day, and just saw it again on thepear.php.net search page. When you click the "submit" button, it switches to a grayed out "processing" button. I glanced at the source, but I don''t seeanything special. Anyone know how this is done? Thanks, -GTry this:<input type="Submit" name="submit" value="Jetzt anmelden"OnClick="this.disabled=true; this.form.submit();">to change text add "this.value=''processing'';"Ingo (Germany) 这篇关于按下时冷却提交按钮切换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-15 04:24