在ASP.NET代码中调用onclass单击函数 [英] Call onclass click function in ASP.NET code behind
本文介绍了在ASP.NET代码中调用onclass单击函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨我有一个功能!
i想从asp.net中的代码调用它请告诉我该怎么做它提前谢谢
我尝试过:
$(document).ready(function(){
$(。tstInfo)。on(click,function(){
$ .toast({
标题:'欢迎来到我的精英管理员',
文字:'使用预定义的,或指定自定义位置对象。',
位置:'右上角',
loaderBg:' #ff6849',
icon:'info',
hideAfter:3000,
stack:6
});
});});
解决方案
(document).ready(function(){
(。tstInfo ).on(click,function(){
.toast({
heading:'Welcome to my Elite admin',
text:'使用预定义的,或指定自定义位置对象。',
仓位:'右上角',
loaderBg:'#ff6849',
图标:'info',
hideAfter:3000,
堆栈:6
});
}); });
Hi i have a function!
i want to call it from code behind in asp.net please tell me how to do it Thanks in advance
What I have tried:
$(document).ready(function() { $(".tstInfo").on("click",function(){ $.toast({ heading: 'Welcome to my Elite admin', text: 'Use the predefined ones, or specify a custom position object.', position: 'top-right', loaderBg:'#ff6849', icon: 'info', hideAfter: 3000, stack: 6 }); }); });
解决方案
(document).ready(function() {
(".tstInfo").on("click",function(){
.toast({ heading: 'Welcome to my Elite admin', text: 'Use the predefined ones, or specify a custom position object.', position: 'top-right', loaderBg:'#ff6849', icon: 'info', hideAfter: 3000, stack: 6 }); }); });
这篇关于在ASP.NET代码中调用onclass单击函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文