I have been using JQuery for some time now, and I wonder what is the best way to display new elements?
Attempt #1
Load external html snippet, and insert it using append
Attempt #2
Change display from none and have all available html preloaded on the page
Attempt #3
Store it in a string and append the element to the designated id.
I feel as though all of these are not great design practice, but which is the best? If there is some other way that I have missed please inform me
mardi 25 avril 2017
Design wise, how should I append new elements using JQuery?
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire