Html code
<html>
<td><input id="id1" value="3000" a type="text" /></td>
</html>
I need the value 3000 to be in the csv file please help
My Function
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js">
var $rows = $table.find('tr:has(td)'),
// Temporary delimiter characters unlikely to be typed by keyboard
// This is to avoid accidentally splitting the actual contents
tmpColDelim = String.fromCharCode(11), // vertical tab character
tmpRowDelim = String.fromCharCode(0), // null character
// actual delimiter characters for CSV format
colDelim = '","',
rowDelim = '"\r\n"',
// Grab text from table into CSV formatted string
csv = '"' + $rows.map(function (i, row) {
var $row = $(row),
$cols = $row.find('td');
return $cols.map(function (j, col) {
var $col = $(col),
text = $col.text();
return text.replace(/"/g, '""'); // escape double quotes
}
</script>
write now iam getting the csv file with data as ,"","","","","","","",