tiko165 Posted September 19, 2013 at 02:11 PM Report #525170 Posted September 19, 2013 at 02:11 PM O que pretendia até é simples, ou suponho que seja, mas não estou a ver como seja possivel fazer. Tenho um texto como um link (tag "a"), e um campo de texto (input), e ao clicar nesse texto, pretendia que o input ficasse activo (com o cursor a piscar) para poder escrever. Alguém me pode dar um empurrão? 😉
nelsonr Posted September 19, 2013 at 02:14 PM Report #525171 Posted September 19, 2013 at 02:14 PM Não sei se percebi bem, mas será isto? <a href="#" onclick="document.getElementById('idText').focus();return(false);">texto</a> <input id="idText" type="text" /> 1 Report
tiko165 Posted September 19, 2013 at 02:19 PM Author Report #525173 Posted September 19, 2013 at 02:19 PM Exactamente, é isso mesmo que pretendia 😄 Um muito obrigado. Grande ajuda! 🙂
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