Users Pricing

forum

Home Forums Input value hidden using HTML and JavaScript – MindStick

Input value hidden using HTML and JavaScript

Anonymous User 4010 16 Aug 2013
Hi developers!

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!


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md