Hey all and happy holidays!
I have this code:
$.ajax({
type: "POST",
url: "add.php",
data: {"word": $("#word").blah.value}
})
That sends it fine to my database and will print on page refresh...i
am curious to how I would use it to print out say "Word added." And
then display it on the page.
Right now I have my data being loaded via a php while() loop would it
be better to do this via ajax?
Thanks so much,
Ryan