write javascript function
Posted
by sunglim
on Stack Overflow
See other posts from Stack Overflow
or by sunglim
Published on 2010-05-31T17:06:14Z
Indexed on
2010/05/31
17:13 UTC
Read the original article
Hit count: 277
JavaScript
I used to write javascript functions
Utility = function (){};
Utility.SwapMember = function(name,id){
return ...
};
Utility.GetCommnaNo = function(originalNo){
return ...
};
..
alert(Utility.GetCommnaNo(totalCnt));
it's quite a bit nice way to make functions get together.
But I think there must be better way.
do you have any better way?
© Stack Overflow or respective owner