aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Function Is Not Working When Adding Dynamic Elements Into Html using Ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Function Is Not Working When Adding Dynamic Elements Into Html using Ajax" Watch "Function Is Not Working When Adding Dynamic Elements Into Html using Ajax" New topic
Author

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

Darshan Kv
Greenhorn

Joined: Jun 14, 2013
Posts: 1

Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 5019
    
    8

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.


Junilu - [How to Ask Questions] [How to Answer Questions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Function Is Not Working When Adding Dynamic Elements Into Html using Ajax