Develop and Download Open Source Software

Browse Subversion Repository

Diff of /js/common.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 39 by berupon, Wed Jan 20 06:35:24 2010 UTC revision 41 by berupon, Fri Jan 22 14:20:16 2010 UTC
# Line 235  function radioInputTag($name, $value, $c Line 235  function radioInputTag($name, $value, $c
235          return txt;          return txt;
236  }  }
237    
238    function findByMember(arr, name, value)
239    {
240            for (var i=0; i<arr.length; ++i) {
241                    if (arr[i][name] == value) {
242                            return arr[i];
243                    }
244            }
245            return null;
246    }
247    
248  function sortHash(hash, cmp)  function sortHash(hash, cmp)
249  {  {

Legend:
Removed from v.39  
changed lines
  Added in v.41

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26