You have to use value attribute
to get its value
<input type="text" name="FirstName" value="First Name" />
try –
var text = $('#DynamicValueAssignedHere').find('input[name="FirstName"]').val();
More Related Contents:
- can we make the jquery syntax easier?
- How to popup an alert when every cell in a table has been clicked?
- My website doesn’t load jQuery [closed]
- how to get data from a sharepoint list using java script and jquery? [closed]
- Converting a JS object to an array using jQuery
- How to detect DIV’s dimension changed?
- How can I get form data with JavaScript/jQuery?
- Difference between val() and text()
- Switch statement for greater-than/less-than
- How to stop events bubbling in jQuery? [duplicate]
- How to show popup message like in Stack Overflow
- How to find a parent with a known class in jQuery?
- jQuery count child elements
- Get parent element of a selected text
- Calling a function on Bootstrap modal open
- Using PUT/POST/DELETE with JSONP and jQuery
- how to move a div with arrow keys
- How can jQuery behave like an object and a function?
- input file to array javascript/jquery
- Bootstrap Dropdown with Hover
- jquery-ui-dialog – How to hook into dialog close event
- jQuery: How to traverse / Iterate over a list of object
- How to get an Array with jQuery, multiple with the same name
- Browser waits for ajax call to complete even after abort has been called (jQuery)
- How to get value from jQuery UI slider?
- CKEditor unwanted characters
- Find the “potential” width of a hidden element
- A file input button for all browsers, is this possible?
- Difference between jQuery’s .hide() and setting CSS to display: none
- How can I change the URI without refreshing the page?