I would like to call a JS function on the onClick() event. The problem is WP keeps adding the URL. The function doesn't work because it results in a 404 error.

Thanks in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.