Input value hidden
I have this input:
<input id="tag1" type="text" name="tags" class="tags" value="@Model.list" />
and I want to get this input value in a hidden input, so I used this:
<input type="hidden" name="tag" value="tags" />
Instead of getting the true value of the first input, I only get the
string "tags"! Can you please tell me how to obtain the true value of the
first input in my hidden input? Thanks!
No comments:
Post a Comment