Jump to content

HTML5 / Jquery Mobile ListView


NunoDinis

Recommended Posts

Bom dia,

Alguém me sabe indicar como faço para quando carregar sobre um item da listview o valor apareça na caixa de texto de procura da listview ?

<ul data-role="listview" data-inset="true" data-filter="true" data-filter-reveal="true" data-filter-placeholder="Procurar país...">
 <li>PAP</li>
 <li>PORTUGAL A PROGRAMAR</li>
</ul>
Edited by NunoDinis

Estranha forma de vida que tem a capacidade de transformar comandos em mensagens de erro.

ndsotware.org

Link to comment
Share on other sites

tenta criar uma variavel

nessa variavel guardar o texto da txtbox

tem ai exemplo depois pa filtrar :c

http://stackoverflow.com/questions/12632948/jquery-moblie-listview-filter-not-theme-able

"Hello guys. You don't know me, but I know you. I want to play a game. Here's what happens if you lose"

"Só erra quem produz... Mas só produz quem não tem medo de errar"

irc @Login

NickServ Acesso a Number1 autorizado

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.