Option 1
<div title="Dialog Title">Dialog Content</div>
$("div").dialog();
Option 2
<div>Dialog Content</div>
$("div").dialog({ title: "Dialog Title" });
Finally, if you want to change the title text after the dialog has already been initialized:
$("div").data("title.dialog", "New Dialog Title");
- Richard
On Mon, Jul 21, 2008 at 11:56 PM, jack <
datactrl@...> wrote:
Hi, all
how do I put a text on title bar of dialog box? Thank you in advance!
Jack
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to
jquery-ui@... To unsubscribe from this group, send email to
jquery-ui-unsubscribe@... For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---