jquery - Hot to submit a form that was loaded in modal? -
after loading form modal-body twitter bootstrap, how submit form using modal primary button?
i don't want set #id because primary button have submit every form loaded.
i go using selector $('#idofmodal .modal-body form').submit()
obviously must change selector according markup (or post markup here can change according it)
hope helps
Comments
Post a Comment