km92 Posted June 9, 2008 at 07:18 PM Report Share #190335 Posted June 9, 2008 at 07:18 PM Boas pessoal. É o seguinte... Queria saber como se faz para que quando o cursor estiver a piscar num textbox (logo depois de clicar na textbox e nao sendo preciso escrever nada) faça outra coisa qualquer, como por exemplo mostrar uma mensagem (isto é só um exemplo). Tenho estado para aqui às voltas mas n consigo 😞 Desde já agradeço 😛 Link to comment Share on other sites More sharing options...
jpaulino Posted June 9, 2008 at 07:24 PM Report Share #190337 Posted June 9, 2008 at 07:24 PM Utiliza os eventos do mouse (mousemove, mouseenter, etc) Link to comment Share on other sites More sharing options...
km92 Posted June 9, 2008 at 08:00 PM Author Report Share #190347 Posted June 9, 2008 at 08:00 PM Obrigado pela ajuda... mas mesmo assim só consigo que faça determinada coisa quando clico FORA da textbox... 😞 Help? Obrigado Link to comment Share on other sites More sharing options...
jpaulino Posted June 9, 2008 at 08:18 PM Report Share #190354 Posted June 9, 2008 at 08:18 PM Mostra lá o que queres fazer então ? Link to comment Share on other sites More sharing options...
km92 Posted June 9, 2008 at 08:34 PM Author Report Share #190357 Posted June 9, 2008 at 08:34 PM Já consegui! Obrigado pela dica 😞 Link to comment Share on other sites More sharing options...
Ivo Pereira Posted June 9, 2008 at 09:00 PM Report Share #190367 Posted June 9, 2008 at 09:00 PM Já consegui! Obrigado pela dica 😞 Já agora podes dizer como fizes-te? Link to comment Share on other sites More sharing options...
Weasel Posted June 11, 2008 at 11:09 AM Report Share #190689 Posted June 11, 2008 at 11:09 AM Basta usar o On Focus Knowledge to the masses Link to comment Share on other sites More sharing options...
Ivo Pereira Posted June 11, 2008 at 01:51 PM Report Share #190704 Posted June 11, 2008 at 01:51 PM Ok 😉 olha só para melhor organização no forum acrescenta a tag [RESOLVIDO] no titulo do tópico. Cumps 😛 Link to comment Share on other sites More sharing options...
jpaulino Posted June 11, 2008 at 02:02 PM Report Share #190705 Posted June 11, 2008 at 02:02 PM Basta usar o On Focus Lê melhor a pergunta: "o cursor estiver a piscar num textbox (logo depois de clicar na textbox e nao sendo preciso escrever nada) faça outra coisa qualquer, como por exemplo mostrar uma mensagem" Se já tem focus não podes utilizar esse evento! Link to comment Share on other sites More sharing options...
José Lopes Posted June 11, 2008 at 02:19 PM Report Share #190708 Posted June 11, 2008 at 02:19 PM eu acho que ele se explicou mal...ele parece que queria mesmo quando ganhasse o focus... não foi muito feliz a explicar :-) lol Quando te pedirem peixe.... ensina-os a Pescar!!Hum..lálálálá!! Link to comment Share on other sites More sharing options...
Weasel Posted June 11, 2008 at 04:01 PM Report Share #190721 Posted June 11, 2008 at 04:01 PM Exactamente, quando o cursor estiver a piscar (logo após clicar na textbox) é quando ocorre o evento On Focus 😉 Knowledge to the masses Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now