wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript " Watch "javascript " New topic
Author

javascript

Anitha Kuchana
Greenhorn

Joined: Dec 22, 2011
Posts: 21
In jsp file i am using javascript:sort() method but its not working .please help me...
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1449
    
    6

Can you show that part of the code.


Swastik
Palak Mathur
Ranch Hand

Joined: Jan 29, 2007
Posts: 313

Anitha Kuchana wrote:In jsp file i am using javascript:sort() method but its not working .please help me...


What is the error you are getting? How are you using it in code?


Palak Mathur | My Blog | TechJaunt | What is JavaRanch? | List of All FAQs
Nikhil Padharia
Ranch Hand

Joined: Apr 19, 2012
Posts: 37
@Palak - Question Initiator is never coming back (Observed from the previous posts ;)

HI Anitha,
You shoud interact with the people here to get better answers to your question.. Or if you have solved the problem then post the answer so that it would help other users to refer your post..

The problem you are facing seems like you are using javasript default sort method in a wrong way..
sort method is called with reference to the array..
syntax of sort method is

Here sortfunction is optional. It can be a function that defines the sort order.
for eg.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript