adding placeholder="" to the filter text input

adding placeholder="" to the filter text input

seanjohnsonseanjohnson Posts: 1Questions: 0Answers: 0
edited December 2011 in General
I'm trying to figure out how to customize the placeholder text for the search/filter text input. Any suggestions?

Replies

  • hostdudehostdude Posts: 7Questions: 0Answers: 0
    Were you able to get this done? I am just trying to figure out the same thing. I want placeholder text on the filter textbox instead of a label.
  • hostdudehostdude Posts: 7Questions: 0Answers: 0
    Nevermind. Figured I'd just do it after the fact:

    [code]$('.dataTables_filter input').attr("placeholder", "enter seach terms here");[/code]
This discussion has been closed.