click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r1138106 - /click/trunk/click/examples/webapp/ajax/table/search-table-ajax.js
Date Tue, 21 Jun 2011 17:35:12 GMT
Author: sabob
Date: Tue Jun 21 17:35:12 2011
New Revision: 1138106

URL: http://svn.apache.org/viewvc?rev=1138106&view=rev
Log:
using jQuery val() to clear input name

Modified:
    click/trunk/click/examples/webapp/ajax/table/search-table-ajax.js

Modified: click/trunk/click/examples/webapp/ajax/table/search-table-ajax.js
URL: http://svn.apache.org/viewvc/click/trunk/click/examples/webapp/ajax/table/search-table-ajax.js?rev=1138106&r1=1138105&r2=1138106&view=diff
==============================================================================
--- click/trunk/click/examples/webapp/ajax/table/search-table-ajax.js (original)
+++ click/trunk/click/examples/webapp/ajax/table/search-table-ajax.js Tue Jun 21 17:35:12
2011
@@ -32,7 +32,7 @@ jQuery(document).ready(function() {
     // Register a 'click' handler on the clear button
     jQuery("#form_clear").click(function(event){
 
-    	jQuery("#form_name").value = '';
+    	jQuery("#form_name").val('');
 
     	// Post form to server
     	postForm(event);



Mime
View raw message