Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is there any Sorting function

Status
Not open for further replies.

greyone

Programmer
Dec 14, 2000
200
CA
i have 4 vales as follows: CDN, BDT , BGL, PJK
i want to sort them. Is there a function in javascript which will help me do that or i have to write my own. If i have to write my own function then could somebody help me to do this.
Please help
 
<script>
d=['CDN','BDT','BGL','PJK']
e=d.sort()
alert(e)
</script> jared@aauser.com
 
but i think that some of the browsers don't support this function is it true.
 
not sure, why don't you test it. jared@aauser.com
 
i''l do that but anyway thanks buddy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top