* add the feature of disable submit button.

This commit is contained in:
wangchunsheng
2010-11-24 08:38:28 +00:00
parent 1362e9191e
commit 42cfb4c4c6
6 changed files with 32 additions and 3 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ class commonModel extends model
echo "<li id='searchbox'>";
echo html::select('searchType', $lang->searchObjects, $searchObject);
echo html::input('searchQuery', $lang->searchTips, "onclick=this.value='' onkeydown='if(event.keyCode==13) shortcut()' class='w-60px'");
echo html::submitButton($lang->go, 'onclick="shortcut()"');
echo html::commonButton($lang->go, 'onclick="shortcut()"');
echo "</li>";
echo "</ul>\n";
}