I have a page with multiple <input>
tags of type text
like the one shown below:
<input type="text" placeholder="First Name" name="fname" id="fname" onChange="setName();" class="form-control admissionFormInput"/>
The placeholder is not being displayed on the webpage neither on Firefox nor on IE. When I do inspect element on the input the placeholder attribute itself is not present. If I manually add the attribute over there then the placeholder text displays fine. What is the issue here? Is this due to browser or Bootstrap?
EDIT 2: Here is my code: https://jsfiddle.net/LhZpX/2043/
As you can see, the HTML code contains placeholder and is correctly displayed. However on opening the file in my browser and doing inspect element on inputs, the placeholder attribute itself is missing. I have one more page with bootstrap used and that displays placeholder just fine.