Staff

I am a Software Engineer who enjoy writing about things that interest me. Here on OamaTech I write about programming as well as other tech related topics. Visit my author page to learn more about me and what I am working on right now.

JavaScript Change Placeholder Text

You can use the following JavaScript code snippets to change the placeholder text. // Option #1 – Plain JS document.getElementById(“someId”).placeholder = “newText”; // Option #2 – jQuery $(“#somId”).attr(“placeholder”, “newText”); Now let’s look at some other ways we can work with these techniques. We will also be using some of these strategies to build a little …

JavaScript Change Placeholder Text Read More »