Giter VIP home page Giter VIP logo

Comments (6)

pinceladasdaweb avatar pinceladasdaweb commented on June 13, 2024 1

I believe that on other pages the JavaScript URL is incorrect, so Ajax is not running. Please, with the firefox console open, refresh the page and see if there is a JavaScript error that is not found.

from ajax-php-mysql-newsletter.

pinceladasdaweb avatar pinceladasdaweb commented on June 13, 2024

Which browser are you using? Can you send a screenshot of the error?

from ajax-php-mysql-newsletter.

jaffa-cake avatar jaffa-cake commented on June 13, 2024

I'm using Firefox. There isn't exactly an error. It just redirects me to a blank page. The URL shows it's send.php, but it's all blank.

from ajax-php-mysql-newsletter.

jaffa-cake avatar jaffa-cake commented on June 13, 2024

If I don't enter an email address, the blank page displays this:
{"status":"error","message":"The email address field must not be blank"}

from ajax-php-mysql-newsletter.

jaffa-cake avatar jaffa-cake commented on June 13, 2024

I tried it again, and it actually does enter the email in the database - the only problem is that it doesn't display the message in the response div, but redirects to a new page. I just can't figure out why that only works on the index page.

from ajax-php-mysql-newsletter.

jaffa-cake avatar jaffa-cake commented on June 13, 2024

Thanks for you help. I didn't make any changes, but now it's working. Maybe it was just a caching issues. I'm sorry to bother you!

from ajax-php-mysql-newsletter.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.