TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
thabet idris
NA
35
5.2k
Make a title of the field goes over the field: asp MVC/Razor
Apr 12 2019 5:22 AM
Hi,
I want when I enters information in the field, then the title of the field goes over the field.
Here is my code:
so in the field we have the text "FIRSTNAME", my purpose is when i enters information in this field, the text "FIRSTNAME" goes over the field.
And as long as the client has nothing to enter in a field, then the title remains in the field.
I search a lot if there is a trick to add in TextBoxFor to do that but i didn't find!
state initial :
state final:
Thanks a lot
@Html.TextBoxFor(model => model.FirstName,
new
{ @placeholder =
"FIRSTNAME"
, @
class
=
"adresse-input"
})
Reply
Answers (
2
)
On click how to open crystal report
Getting input from Gridview