Please help, This is what I am using.
$('#upload-image-form<?php echo json_encode($row['id']); ?>).on('submit', function(e) {some javascript code};
This is what I am getting(view page source)
$('#upload-image-form"475").on('submit', function(e) {some javascript code}
And this is what I want(view page source)
$('#upload-image-form475).on('submit', function(e) {some javascript code}
<?php echo $row['id']; ?>json_encodehere?