如何通过javascript将参数传递给gridview? [英] How to pass a parameter to gridview through javascript?

查看:92
本文介绍了如何通过javascript将参数传递给gridview?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网页上有一个gridview,我有一个删除选项,用于gridview中列出的数字,如果我们要删除一个特定的数字,它应该要求弹出这样的你确定要删除吗?这个号码0421512521?我能够提供一个javascript,但有一件事我坚持这一个是无法传递javascript内的数字,如果有人知道如何传递参数请尝试帮助我

解决方案

阅读文档是否如此困难?

http://www.w3schools.com/js/js_functions.asp [ ^ ]

http://www.htmlgoodies .com / beyond / javascript / article.php / 3471111 [ ^ ]

i have a gridview in my webpage in that i have a delete option for the number listed in the gridview, if we want to delete a particular number it should have to ask a pop up like this "Are you sure want to delete this number 0421512521? " i can able to give a javascript but one thing i stuck up with this one is not able to pass a number inside javascript, if anyone know how to pass a parameter please try to help me

解决方案

Is it so hard to read the documentation?
http://www.w3schools.com/js/js_functions.asp[^]
http://www.htmlgoodies.com/beyond/javascript/article.php/3471111[^]


这篇关于如何通过javascript将参数传递给gridview?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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