Answer the question
In order to leave comments, you need to log in
Are there any out-of-the-box solutions for js "complain" buttons?
Greetings. Recently, I have been engaged in web development and created a site for free ads on cms joomla. And then I had a difficulty - I need a button on the ad page, by clicking on which a window with violation points would pop up, and by clicking on the "send" button, a letter with this complaint would come to my mail. Yes, there is a ready-made solution on the engine itself, but it requires user registration on the site, and I am categorically against registration. Then I thought that perhaps there are similar ready-made solutions in JavaScript. Tried googling, but didn't find anything useful. Please advise
Answer the question
In order to leave comments, you need to log in
I'm not familiar with Joomla, but I think the principle will be the same. You will not send a letter directly from the script. Read how to make ajax requests from js to a php file on your server or maybe Joomla has a ready solution. In general, PHP has many solutions ready for sending emails.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question