From 21c565b3ca9de9cc4cfc3fb2e847cc0330921c48 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Wed, 16 Oct 2013 18:04:37 +0200 Subject: jquery port --- .../pages/Controls/Samples/TClientSideValidator/Home.page | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'demos') diff --git a/demos/quickstart/protected/pages/Controls/Samples/TClientSideValidator/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TClientSideValidator/Home.page index 06ed6295..f7d03ea2 100755 --- a/demos/quickstart/protected/pages/Controls/Samples/TClientSideValidator/Home.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TClientSideValidator/Home.page @@ -1,6 +1,11 @@

Conditional Validation (client-side + server side)

+ +.required { + background-color: #E77471; +} +
@@ -22,7 +27,7 @@ Check "optional" to validate both textboxes ErrorMessage="*" ControlCssClass="required"> - sender.enabled = $('<%= $this->check1->ClientID %>').checked; + sender.enabled = jQuery('#<%= $this->check1->ClientID %>').get(0).checked; -- cgit v1.2.3