如何在Javascript中执行回发 [英] How to perform postback in Javascript

查看:72
本文介绍了如何在Javascript中执行回发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在asp.net中为复选框编写了一个javascript函数。当选中一个复选框时,我正在javascript做一些任务。我希望在检查复选框时发生回发。我不想设置回发属性复选框为true.this回发属性必须由javascript调用。



任何人都可以帮助这个。

I have written a javascript function for checkbox in asp.net.When a checkbox is checked i am doing some task in javascript.i want a postback to happen when i check the checkbox.I dont want to set the postback property of checkbox to true.this postback property has to be called by javascript.

can anyone plz help on this.

推荐答案

我想你正在寻找这个



http ://jsfiddle.net/bujmxoo5/ [ ^ ]



导入Jquery库并使用应用程序中的代码
I think you are looking for this

http://jsfiddle.net/bujmxoo5/[^]

import the Jquery library and use the code in your application


链接 [ ^ ]

查看以上链接。这可能会有所帮助。
Link[^]
Check the above link. This may help .


这篇关于如何在Javascript中执行回发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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