L
L
Leonid Nimchenko2017-09-26 00:23:54
JavaScript
Leonid Nimchenko, 2017-09-26 00:23:54

Why might the checkbox not work and links not open?

Hello. Added a checkbox and a link to the site in the pop-up window, the site is on MODx evo, but it seems to me that this is not relevant. I have not worked with this site before, the window was created before me, there were no links and checkboxes in the window. When testing, I can not change the state of the checkbox. I tried to change the state with a script when clicking - the click works, the state does not change. Also, the link does not respond to a click, although if you open the link in the context menu in a new tab, it opens. I suspect that the reason is in the connected js libraries, but I can’t even imagine how this can be implemented and how to cancel it. Tell me please.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ilya Pashnin, 2017-10-05
@MaestroALF

  1. Disable JS in the browser, check links and checkboxes
    Very similar to bad code, when all clicks in a modal window are processed, for example, and not with a specific ID.

L
Leonid Nimchenko, 2017-10-05
@lculver

I solved the problem, on one of the parents the click handler returned false.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question