Hey everybody,
I am working on a website, but i have a little problem.
My website has music playing, and has buttons that you can click.
I used AJAX to load the content in a div layer when presing a button, i did this so the music can keep playing when clicking buttons and not start over again.
Now i have a mailform in that same Ajax system.
The mailform checks on valid email adresses and lets you know if something is missing.
When you say send it opens a new page and doesn’t refresh in the div layer.
Also the comments like "email is missing"or “name is not filled in” are opening in a new page.
Can somebody tell me what could be the trick.
I now all the scripts are correct but the send button should not have the history-1 script but something different i think. Somebody got a idea or maybe a better way to open content in a div layer.
thanks in advance