skip to Main Content

Jquery – Covert ajax output into option

I am getting html after ajax call and I want to change the output into option. I have select tags where I want to append these options <div class="views-element-container"> <div class="view view-contact-view-id-contact view-display-id-page_2 js-view-dom-id"> <div class="view-content"> 1009abc example 1008xyz example…

VIEW QUESTION

Jquery – find image tags with alt attribute without double quotes and replace with empty double quotes

<img src="first.jpg" alt="first" width="500" height="600" /> <img src="second.jpg" alt width="500" height="600" /> <img src="third.jpg" alt="third" width="500" height="600" /> <img src="fourth.jpg" alt width="500" height="600" /> <img src="fifth.jpg" alt="" width="500" height="600" /> find image tags with alt attribute without double quotes and…

VIEW QUESTION
Back To Top
Search