I am responding an ajax request with a js file.
$('#liststudents').html("<button>Duzenle</button> 24 Name Surname<br/>");
and the problem occurs if i try to use ANY HTML PROPERTY like,
$('#liststudents').html("<button class="">Duzenle</button> 24 Name Surname<br/>");
$('#liststudents').html("<button href="">Duzenle</button> 24 Name Surname<br/>");
any of these fails, but i cannot see why?
To have a quote appear in your output you need to escape them with a \ character, like