Bootstrap Modal Ajax在单击时不起作用 [英] Bootstrap Modal Ajax not working on click
本文介绍了Bootstrap Modal Ajax在单击时不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Bootstrap Modal Ajax在没有第二行警报的情况下无法单击. 请帮忙 http://pastebin.com/cyXdWSPq
Bootstrap Modal Ajax not working on click without the alert on second line. please help http://pastebin.com/cyXdWSPq
推荐答案
尝试将您的代码包装在$(document).ready(function(){})或同等版本中.当我看到这样的信息时,通常是因为文档尚未完全加载.试一试.
Try wrapping your code in a $(document).ready(function(){}) or equivalent. When I see stuff like this it's usually because the document is not fully loaded yet. Give it a shot.
这篇关于Bootstrap Modal Ajax在单击时不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文