jquery dialog отваряне

Nikol4u

Registered
Код:
$(function() {
		$("#dialog").dialog();
	});


<div id="dialog" title="Basic dialog">
	<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
</div>


Идеята ми е при клик да се отваря.

Пробвах да задам на друг див различно ИД и

$('#klik').click(function() {
$("#dialog").dialog('open')
});


но не става :/
 

Back
Горе