wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 4447
    
    5

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]
 
jQuery in Action, 2nd edition
 
subject: Function Is Not Working When Adding Dynamic Elements Into Html using Ajax
 
Similar Threads
Pop up calendar Problem
how to use jquery to make form fields required on submit?
modifiying jquery plugins to add ontopic events
My First Real jQuery Plugin - Feedback
from rectangular shape to ellipse shape with jquery