In order to use most lazy loading libraries we need to use "data-src" instead of just "src" How can i modify the html and "src" to be data-src to be able to use lazy loading.
I CANT change the html code to data-src because we sharing components and what this change only on one page.
So my question is, once i do view page source i want to see the data-src instead of just src
I was able to edit the DOM and see my changes in view page source when i used this line of code
$("a[href='/comprehensive-insurance-and-collision-coveragee']").prop('href', '/comprehensive-insurance-and-collision-coverage')
it basically edited the link of from coveragee to coverage. and when i did view page source i can see the link as coverage not coveragee,
i want to the same thing as that but for src to data-src