jQuery.Form
4.6.1
dotnet add package jQuery.Form --version 4.6.1
NuGet\Install-Package jQuery.Form -Version 4.6.1
<PackageReference Include="jQuery.Form" Version="4.6.1" />
<PackageVersion Include="jQuery.Form" Version="4.6.1" />
<PackageReference Include="jQuery.Form" />
paket add jQuery.Form --version 4.6.1
#r "nuget: jQuery.Form, 4.6.1"
#:package jQuery.Form@4.6.1
#addin nuget:?package=jQuery.Form&version=4.6.1
#tool nuget:?package=jQuery.Form&version=4.6.1
jQuery Form Plugin
Submit any HTML form with AJAX. ajaxForm() and ajaxSubmit() collect the form's fields and send
them with $.ajax(), including file uploads and upload progress. The form needs no special markup.
This package installs these files in Scripts/:
jquery.form.jsjquery.form.min.jsjquery.form.min.js.map
It needs jQuery 1.7.2 or later and works with jQuery 4.
Usage
<script src="~/Scripts/jquery.js"></script>
<script src="~/Scripts/jquery.form.min.js"></script>
<form id="contact" action="/p/https://www.nuget.org/contact" method="post">
<input name="email" type="email">
<button type="submit">Send</button>
</form>
<script>
$('#contact').ajaxForm({
success: function (response) {
alert('Sent');
}
});
</script>
Upgrading from 4.3.0
4.4.0 fixed four XSS issues, so upgrade if you're on 4.3.0 or earlier. Some changes since 4.3.0 might affect your code:
- A
targetstring is only treated as a selector. A string that starts with<no longer creates elements. - Spaces in urlencoded data are sent as
+on every jQuery version, as a native form submission sends them. Servers decode+and%20the same way. delegation: truelogs a console warning on jQuery 3 and later, where it binds every form on the page.
The release notes for each version are on GitHub.
Links
Licensed under LGPL-2.1-or-later or MIT, at your option.
Learn more about Target Frameworks and .NET Standard.
-
- jQuery (>= 1.7.2)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on jQuery.Form:
| Package | Downloads |
|---|---|
|
CmjMVCUI
Manual operation: 1.Modify file namespace :App_Start\BundleConfig.cs 2.uninstall package: Bootstrap Respond JS 3.Delete the following files: Content\Site.css |
|
|
ComBoost.Mvc.Bootstrap
This is a bootstrap style package for ASP.Net using ComBoost.Mvc. |
|
|
ProgressiveJs
A library to simplify the creation of progressively enhanced ajax web applications. |
|
|
Incoding.MetaLanguage
Define behavior of your Ajax dynamic pages with NO Javascript code. |
|
|
Bigfoot.Web.Client
Bigfoot.Web.Client carries the client assets for the Bigfoot.Web.Client, mainly bigfoot.js and bigfootweb.css. It is based on Bootstrap as well jQuery.BlockUI so it needs these packages to operate properly. Structure: Scripts\bigfoot.js Content\bigfootweb.css Content\Images\loading-spinner-grey.gif |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on jQuery.Form:
| Repository | Stars |
|---|---|
|
AndreyAkinshin/knockout-mvc
Power of Knockout.js for ASP.NET MVC
|
|
|
aspose-pdf/Aspose.PDF-for-.NET
Aspose.PDF for .NET examples, plugins and showcase projects
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.6.1 | 85 | 2026/11/29 |
| 4.3.0 | 333,151 | 2021/5/10 |
| 4.2.2 | 260,572 | 2018/1/3 |
| 4.2.1 | 54,037 | 2017/4/12 |
| 4.0.1 | 23,602 | 2017/2/24 |
| 3.51.0 | 755,696 | 2014/10/29 |
| 3.46.0 | 191,650 | 2013/12/4 |
| 3.43.0 | 143,128 | 2013/9/4 |
| 3.36.0 | 24,478 | 2013/7/8 |
| 3.32.0 | 29,185 | 2013/4/4 |
| 3.28.0 | 18,424 | 2013/3/20 |
| 3.27.0 | 25,272 | 2013/2/11 |
| 3.25.0 | 6,784 | 2013/1/22 |
| 3.24.0 | 6,712 | 2013/1/7 |
| 3.23.0 | 5,464 | 2012/12/19 |
| 3.20.0 | 9,617 | 2012/11/28 |
| 3.18.0 | 8,168 | 2012/10/18 |