I have
<table id="table1">
<tr>
<td> </td>
</tr>
</table>
I check for the value in using
$('#table1 tr').find('td').eq(0).text()
this equates to " "
so the check is
$('#table1 tr').find('td').eq(0).text() == " "
While transferring the file to server, a garbage value is inserted between quotes
$('#table1 tr').find('td').eq(0).text() == " A "
using $('#table1 tr').find('td').eq(0).text().trim()
also gives " "
as the cell contains
How do I prevent this garbage value from being inserted each time I deploy on server