Ad

How To Get Value From One Page To Another Page Using Input Name Jquery

- 1 answer

I want to get the textbox value from one page to another page using input name in jquery.

$('input[name$="testName"]').val("@Model.Value")

above this code is not working in another page, please anyone help me.

Ad

Answer

You have to pass value in query string or somehow you cannot access directly.

Ad
source: stackoverflow.com
Ad