i want to replace the search label with search box.

i want to replace the search label with search box.

lokashreelokashree Posts: 4Questions: 3Answers: 0

I want to replace the default filter box label with a search button. some one please help me achieve this.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,667Questions: 1Answers: 10,096 Site admin
    Answer ✓

    There isn't a built in way to do that - you would need to implement either a custom feature plug-in or call the search() method on click yourself.

    Regards,
    Allan

  • allanallan Posts: 61,667Questions: 1Answers: 10,096 Site admin

    I've finally gotten around to writing the code for this. I've implemented it as a feature plug-in for DataTables and it works with the language.search and language.searchPlaceholder options: http://live.datatables.net/dujulije/1/edit .

    It also has its own option to disable the button and the button text can be customised.

    I'll look at writing that up into a blog post next week as I think its reasonably interesting :smile:.

    Regards,
    Allan

  • lokashreelokashree Posts: 4Questions: 3Answers: 0

    Thank you Allan :)

This discussion has been closed.