如何在Web Api中创建消息框? [英] How Do I Create Message Box In Web Api?

查看:92
本文介绍了如何在Web Api中创建消息框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在web api类中使用的是什么,而不是在c#????

what i use in web api class instead of messagebox.show in c#????

推荐答案

中的messagebox.show你可以使用JavaScript的警告http://www.w3schools.com/js/js_popup.asp [ ^ ]用于简单的弹出窗口。



但是,有很多jquery插件有助于制作漂亮的弹出窗口,但你必须设计html和css。
You can use JavaScript's alert http://www.w3schools.com/js/js_popup.asp[^] for a simple popup.

However, there are lots of jquery plugins to help make nice looking popups but you'll have to design the html and css.


这篇关于如何在Web Api中创建消息框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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