<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ashish Gupta </title>
    <description>The latest articles on DEV Community by Ashish Gupta  (@dev-ag).</description>
    <link>https://dev.to/dev-ag</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3192222%2Fbc665dba-ba70-4127-a31b-aa1bb845e9e3.png</url>
      <title>DEV Community: Ashish Gupta </title>
      <link>https://dev.to/dev-ag</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dev-ag"/>
    <language>en</language>
    <item>
      <title>Answer: Custom dialog not showing info icon</title>
      <dc:creator>Ashish Gupta </dc:creator>
      <pubDate>Wed, 21 May 2025 16:11:00 +0000</pubDate>
      <link>https://dev.to/dev-ag/answer-custom-dialog-not-showing-info-icon-29lg</link>
      <guid>https://dev.to/dev-ag/answer-custom-dialog-not-showing-info-icon-29lg</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;div class="ltag__stackexchange--header"&gt;
          &lt;img src="https://assets.dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
          &lt;a href="https://stackoverflow.com/questions/79632076/custom-dialog-not-showing-info-icon/79632151#79632151" rel="noopener noreferrer"&gt;
            &lt;span class="title-flare"&gt;answer&lt;/span&gt; re: Custom dialog not showing info icon
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;May 21 '25&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/79632076/custom-dialog-not-showing-info-icon/79632151#79632151" rel="noopener noreferrer"&gt;
        &lt;img src="https://assets.dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://assets.dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;Icons generally visible on buttons. As I have done in the below snippet.&lt;/p&gt;
&lt;div class="snippet" data-lang="js"&gt;
&lt;div class="snippet-code"&gt;
&lt;pre class="snippet-code-js lang-js prettyprint-override"&gt;&lt;code&gt;$('#custom-alert').dialog({
            title: title,
            modal: true,
            width: 600,
            height: 320,
            closeText: '',
            buttons: [{
                icon: "ui-icon-info",
                click: function () {
                    $(this).dialog('destroy').remove()
                }
            }]
        });&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;


    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    &lt;a href="https://stackoverflow.com/questions/79632076/custom-dialog-not-showing-info-icon/79632151#79632151" class="ltag__stackexchange--btn" rel="noopener noreferrer"&gt;Open Full Answer&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


</description>
      <category>programming</category>
      <category>webdev</category>
      <category>ui</category>
      <category>bug</category>
    </item>
  </channel>
</rss>
