Skip to content
Advertisement

Tag: placeholder

Make words in placeholder while typing in javascript

I want to make do a typing accuracy check application. What I want to achieve is to make the words (user should type) in the placeholder or similar to the effects of placeholder while users are typing. When user types the words in the input, the word in placeholder should disappear or fit the words in the input (user can’t

Adding Placeholder To Input Field By Name

I’m trying to add a placeholder to an an attribute using JavaScript. The Input element’s HTML is: Seems I need to target it by the class also of the parent td “gfield_list_cell gfield_list_72_cell3” I’m trying to target this using Javascript and a $ sign as the placeholder. I’m using this, but can’t get it work. Any help would be appreciated.

Advertisement