jQuery.Form 4.6.1

dotnet add package jQuery.Form --version 4.6.1
                    
NuGet\Install-Package jQuery.Form -Version 4.6.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="jQuery.Form" Version="4.6.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="jQuery.Form" Version="4.6.1" />
                    
Directory.Packages.props
<PackageReference Include="jQuery.Form" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add jQuery.Form --version 4.6.1
                    
#r "nuget: jQuery.Form, 4.6.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package jQuery.Form@4.6.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=jQuery.Form&version=4.6.1
                    
Install as a Cake Addin
#tool nuget:?package=jQuery.Form&version=4.6.1
                    
Install as a Cake Tool

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.js
  • jquery.form.min.js
  • jquery.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 target string 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 %20 the same way.
  • delegation: true logs 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.

Licensed under LGPL-2.1-or-later or MIT, at your option.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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