Passing data from a client form via jQuery Ajax dynamically?

Yes, in this specific example it is OK because you have hardcoded the values, but the code hides a huge flaw and this flaw is responsible for the problems you are encountering when you use dynamic values. You don't encode your JSON request values. And that's what happens when you want to insert dynamic values.

If there's some special character in the name for example your JSON breaks because you have used string concatenations. You should never do that. You should use the JSON.

Stringify function and replace the following horror.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions