如何在asp.net中使用jQuery弹出链接按钮 [英] how to popup a linkbutton using jquery in asp.net

查看:294
本文介绍了如何在asp.net中使用jQuery弹出链接按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我的网站在主页上有链接按钮,我想使用jquery弹出该链接按钮.我的弹出窗口具有用户名,密码,电子邮件ID和提交按钮.
当我单击链接按钮时,弹出窗口将打开.如何使用jquery来获取它.

问候,
P.Maruthi


My website having link button in master page, i want to popup that link button using jquery. my popup window having username,password,emailid and a submit button.
when i click the link-button that popup window will be open.how can i get it using jquery.

Regards,
P.Maruthi

推荐答案

如果要弹出新窗口,可以使用以下命令:

If you want to popup a new window, you can use the following:


(文档 .ready( function (){
(document.ready(function () {


(' #myLinkBut​​ton' ).click(函数(){ 窗口 .open(myUrl,WindowNameWithNoSpaces,' toolbar = no ,location = no,directories = no,status = no,menubar = no,scrollbars = yes,resizable = yes,width = 800,height = 640'); }); }
('#myLinkButton').click(function () { window.open(myUrl, WindowNameWithNoSpaces, 'toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=yes,resizable=yes,width=800,height=640'); }); }



最后一个参数是一串选项.

妳去希望对您有帮助,

-Dom



The last parameter is a string of options.

There you go. I hope that helps,

-Dom


这篇关于如何在asp.net中使用jQuery弹出链接按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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