Permalink
Browse files

jQuery accepts any object for ajax options context property (via @elk…

  • Loading branch information...
1 parent 44f1830 commit 7590af3b85475afe8eb3933f60bb7263387adb11 @nikhilk committed Nov 4, 2012
@@ -118,10 +118,10 @@ public sealed class jQueryAjaxOptions {
}
/// <summary>
- /// Gets or sets the element that will be the context for the request.
+ /// Gets or sets the object that will be the context for the request.
/// </summary>
[IntrinsicProperty]
- public Element Context {
+ public object Context {
get {
return null;
}
@@ -8,5 +8,5 @@
namespace jQueryApi.Validation {
- public delegate bool jQueryValidationMethod(string value, Element element, object[] parameters);
+ public delegate bool jQueryValidationMethod(string value, Element element, object[] parameters);
}

0 comments on commit 7590af3

Please sign in to comment.