<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Consulenza-Web.com &#187; dialog</title>
	<atom:link href="http://www.consulenza-web.com/tag/dialog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.consulenza-web.com</link>
	<description>Blog di Marco Pegoraro su Consulenza Web ed Informatica, Programmazione Web e realizzazione di Siti Web Accessibili.</description>
	<lastBuildDate>Mon, 30 Jan 2012 08:39:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Accedere ad un bottone di jQuery UI Dialog</title>
		<link>http://www.consulenza-web.com/2009/05/accedere-ad-un-bottone-di-jquery-ui-dialog/</link>
		<comments>http://www.consulenza-web.com/2009/05/accedere-ad-un-bottone-di-jquery-ui-dialog/#comments</comments>
		<pubDate>Wed, 20 May 2009 14:54:38 +0000</pubDate>
		<dc:creator>peg</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[dialog]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://www.consulenza-web.com/?p=93</guid>
		<description><![CDATA[Oggi mi sono imbattuto in un piccolo problema utilizzando jQueryUI Dialog: ho necessità di rendere configurabili i nomi dei bottoni azione definiti all&#8217;interno della dialog stessa. jQueryUI non mette a disposizione nulla del genere!!! Per fortuna, come spesso succede, la soluzione non è molto complicata! Ecco qui un piccolo esempio di configurazione con personalizzazione del [...]]]></description>
			<content:encoded><![CDATA[<p>Oggi mi sono imbattuto in un piccolo problema utilizzando jQueryUI Dialog: ho necessità di rendere configurabili i nomi dei bottoni azione definiti all&#8217;interno della dialog stessa.</p>
<p>jQueryUI non mette a disposizione nulla del genere!!!</p>
<p><strong>Per fortuna, come spesso succede, la soluzione non è molto complicata!</strong></p>
<p>Ecco qui un piccolo esempio di configurazione con personalizzazione del nome di un bottone:</p>
<pre>$('.dialog').dialog({
  title: "test",
  buttons: { 'open': function(){}, 'close': function(){} },
  open: function(){
    $(".ui-dialog-buttonpane :button:contains('open')").html("Testo personalizzato");
  }
});</pre>
<p>La &#8220;magia&#8221; sta nella callback di apertura che va a cercare i bottoni in base al loro contenuto.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Segnala presso:</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F05%2Faccedere-ad-un-bottone-di-jquery-ui-dialog%2F&amp;title=Accedere+ad+un+bottone+di+jQuery+UI+Dialog" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F05%2Faccedere-ad-un-bottone-di-jquery-ui-dialog%2F&amp;title=Accedere+ad+un+bottone+di+jQuery+UI+Dialog" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F05%2Faccedere-ad-un-bottone-di-jquery-ui-dialog%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F05%2Faccedere-ad-un-bottone-di-jquery-ui-dialog%2F&amp;title=Accedere+ad+un+bottone+di+jQuery+UI+Dialog" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F05%2Faccedere-ad-un-bottone-di-jquery-ui-dialog%2F&amp;title=Accedere+ad+un+bottone+di+jQuery+UI+Dialog" rel="nofollow" title="Add to&nbsp;LinkedIn"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/linkedin.png" title="Add to&nbsp;LinkedIn" alt="Add to&nbsp;LinkedIn" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F05%2Faccedere-ad-un-bottone-di-jquery-ui-dialog%2F&amp;title=Accedere+ad+un+bottone+di+jQuery+UI+Dialog" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F05%2Faccedere-ad-un-bottone-di-jquery-ui-dialog%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Accedere+ad+un+bottone+di+jQuery+UI+Dialog+@+http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F05%2Faccedere-ad-un-bottone-di-jquery-ui-dialog%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F05%2Faccedere-ad-un-bottone-di-jquery-ui-dialog%2F&amp;t=Accedere+ad+un+bottone+di+jQuery+UI+Dialog" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.consulenza-web.com/2009/05/accedere-ad-un-bottone-di-jquery-ui-dialog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

