Good day! There is such a construction:
<input type="button" class="jqModal" value= "LOGIN" onclick="show()"/> <div class="jqmWindow" id="dialog"> //это должно появляться при клике <jdoc:include type="modules" name="login" /> </div>
I wrote a handler in the head:
function show() { var rd = $(".jqmWindow"); rd.style.display = 'block'; }
Tell me why it does not work? And how to make the window appear when you click on the text or image?