ajax - What is an alternative approach to large quantities of hidden fields? -


I am using some hide-field to store some values, which I have given to my AJAX posts on the server Need to continue with.

Is this a bad practice? Should I use another technique like storing a JSON string inside a hidden field? Or is it a common scenario in all hidden areas?

Finally there is nothing wrong with the 12 hidden areas. It is difficult to give advice about what you should do, because I do not know your situation.

In these situations, only one piece of my advice is to evaluate the situation and check if your application is doing and if there is a better way.

Ask yourself if the form is doing too much at once. Can it be distributed? Is there a way to make work easier?


Comments

Popular posts from this blog

c# - Reactive Extensions ControlScheduler -

ios - How to determine if NSLayoutConstraint is horizontal or vertical? -

javascript - Enable/Disable form elements and changing the values of button at a time? -