开发者_StackOverflow社区
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its curr
开发者_StackOverflow社区
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I'm trying to figure out how I can prevent multiple of the class asks questions at the same time or the ask2 question currently displaying with the ask question.
http://pastebin.com/S91NfZVV
Add this at line 26, right after e.preventDefault();
if($('div.question').length){return;}
This instead will close an existing box before opening another one(has to be placed at the same line)
精彩评论