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

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -