Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#e").click(function (e) {
- $("#s").show(200);
- e.stopPropagation();
- $("body").click(function (e) {
- if (!$(e.target).hasClass('popu')) {
- $("#s").hide(200);
- }
- });
- });
- $("#er").click(function (er) {
- $("#u").show(200);
- er.stopPropagation();
- $("body").click(function (er) {
- if (!$(er.target).hasClass('popu')) {
- $("#u").hide(200);
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement