Actually a question. What to do in this case? It is necessary that by clicking on the address the following form opens: 
Clicking on the cross, it closed.
Tried to do this:
$(".mapclick").click(function() { $(".testblock").Show(); }); Actually a question. What to do in this case? It is necessary that by clicking on the address the following form opens: 
Clicking on the cross, it closed.
Tried to do this:
$(".mapclick").click(function() { $(".testblock").Show(); }); As an option:
$('.open').click(function() { $('.form').show('slow'); }); $('.close').click(function() { $('.form').hide('slow'); }); .form { width: 300px; height: 200px; background: silver; border: 1px solid #222; position: relative; display: none; } .close { position: absolute; top: 5px; right: 5px; } <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <a class="open" href="#">open</a> <div class="form"> <a class="close" href="#">X</a> </div> Source: https://ru.stackoverflow.com/questions/563163/
All Articles