This is what the dialog buttons options is for:
docs: http://jqueryui.com/docs/dialog/#option-buttons

demo: http://jsbin.com/omire

source: http://jsbin.com/omire/edit

- Richard

On Thu, Aug 27, 2009 at 6:12 AM, Chirag <[email protected]> wrote:

>
>
> Hi,
> I am having a problem with jquery. I am using jquery model dialog box.
>
> Code is.
> function
> showDialog() {
> $('#dialog').removeClass("hidden");
> confirmDialog = $(
> "#dialog").dialog({
> bgiframe: true,
> height:140,
> modal:
> true,
> resizable:
> false,
> width: 350,
> overlay:
> {
> backgroundColor: '#000',
> opacity: 0
> }
> }
> );
> }
> And Div:
> <
> div id="dialog" class="hidden" align="center" style="border:
> 0px;margin: 20px; background-color: #fff">
> <p> &nbsp;&nbsp;Do you want to attach the renewal proof now ?</p><br/
> >
> <input type="button" align="middle" name="Yes" value="Yes"
> onclick="javaScript:attachDocument();" style="width: 70px;"/>&nbsp;
> <input type="button" align="middle" name="No" value="No"
> onclick="javaScript:dontAttachDocument();" style="width: 70px"/
> >&nbsp;
> <input type="button" align="middle" name="cancel" value="cancel"
> onclick="javaScript:processConfirm();" style="width: 70px"/>&nbsp;
> </
> div>
> But the close button is not coming in the confirm box as it is
> expected. Its coming partially and on the right side instead of left
> side.
>
> Can you please tell me the problem with my approach.
> Thanks in advance.
>
>
>
> Thanks & Regards,
> Chirag Goel.
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to