Automate ajax requests with HTML5 data- attributes?

You can solve this just by adding an abstraction level. The idea is that whenever you will send information to the server, the JS code will not be hard coded to any specific form. It will just loop over all of the forms fields and send their values to the server.

On the server side you can process the request and figure out what are the errors, if any. Then you can return them by binding the error to a specific field.

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