Giter VIP home page Giter VIP logo

Comments (2)

elo80ka avatar elo80ka commented on July 21, 2024

From stan.madueke on February 21, 2010 02:26:25

Thanks for the patch benneth. If you don't mind my asking, how do your add/remove links
work currently? How did you wire them up to the appropriate methods that add and remove
a form instance? Also, do you perform any additional tasks in the click event handlers?

from django-dynamic-formset.

elo80ka avatar elo80ka commented on July 21, 2024

From [email protected] on February 21, 2010 08:58:53

Well 'Add' is always there not matter what and your script already automatically
hides the 'Delete' with the correct class on it so that is taking care of.

So the add and delete links are just inside my formset. They are cloned with the
rest of the formset.

My issue was that I need to wrap a div around the anchor tag to do some more advanced
formatting that couldn't be solved with css.

I do do some additional tasks on add using the 'added' callback, but not on the click
handler.

from django-dynamic-formset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.