• Post Reply Bookmark Topic Watch Topic
  • New Topic

Function Is Not Working When Adding Dynamic Elements Into Html using Ajax  RSS feed

 
Darshan Kv
Greenhorn
Posts: 1
Java MyEclipse IDE Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Junilu Lacar
Sheriff
Posts: 10950
158
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One thing I can say is that this function is waaay too big. You should factor parts out to smaller functions so it's easier to see one level of abstraction at a time. Hide implementation details behind intention-revealing function names. That's one way to get a handle on the complexity of the code.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!