Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8524407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:40:44+00:00 2026-06-11T07:40:44+00:00

$(function(){ // Dialog $(‘#dialog’).dialog({ autoOpen: false, width: 600, buttons: { Ok: function() { $(this).dialog(close);

  • 0
$(function(){
                // Dialog
                $('#dialog').dialog({
                autoOpen: false,
                width: 600,
                buttons: {
                    "Ok": function() {
                        $(this).dialog("close");
                    },
                    "Cancel": function() {
                        $(this).dialog("close");
                    }
                }
            });

            // Dialog Link
            $('#dialog_link').click(function(){
                $('#dialog').dialog('open');
                return false;
            });

            //hover states on the static widgets
            $('#dialog_link, ul#icons li').hover(
                function() { $(this).addClass('ui-state-hover'); },
                function() { $(this).removeClass('ui-state-hover'); }
            );

        });

i m use dialog box jquery in which i want use datepicker
it show me outsde of the dialog box…..thats problem….

    <div id="dialog" title="Find Patient">
      <p>
      <table style="table-layout: fixed; width: 550px;">
        <tr>
          <td><label class="form-item-label form-item-label-right">Patient Id :</label> </td>
            <td><input type="text" name="byId" id="byId" style="width: 90%"  /></td>
           <td><a class="button" href="#"><span>Find</span></a></td>
        </tr>
        <tr>
          <td><label class="form-item-label form-item-label-right">Patient`s Name :</label></td>
            <td><input type="text" name="byName" id="byName" style="width: 90%"/></td>
            <td><a class="button" href="#"><span>Find</span></a></td>
        </tr>
        <tr>
            <td></td>
            <td><input type="text" id="dob" name="dob" style="width: 90%"></td>
            <td><a class="button" href="#"><span>Find</span></a></td>
        </tr>
        </table>
      </p>
    </div>

when i m use the datepicker Jquery in last row of table in dialog box
load my html page Datepicker is load on page first

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T07:40:45+00:00Added an answer on June 11, 2026 at 7:40 am

    I dont know if this is your solution, but try this out if you are tend to use the Jquery datepicker you should add it to the element directly on load mabye and not on focus, it will append when you focus the textbox anyway. Notice the line of code $('#dob').datepicker();

    $(function () {
        // Dialog
        $('#dialog').dialog({
            autoOpen: false,
            width: 600,
            buttons: {
                "Ok": function () {
                    $(this).dialog("close");
                },
                "Cancel": function () {
                    $(this).dialog("close");
                }
            }
        });
    
        $('#dob').datepicker();
    
        // Dialog Link
        $('#dialog_link').click(function () {
            $('#dialog').dialog('open');
            return false;
        });
    
        //hover states on the static widgets
        $('#dialog_link, ul#icons li').hover(
                function () { $(this).addClass('ui-state-hover'); },
                function () { $(this).removeClass('ui-state-hover'); }
            );
    
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm implementing Simplemodal in an application of mine using this code: $(.dialog-link).live('click', function(e) {
I currently have the following code: $('#loginLink, #registerLink').click(function () { dialog(this); return false; });
I have this jQuery: $('#detail') .on('click', '.deleteLink', function () { dialog(this); return false; })
I have click events set up like this: $('.dialogLink') .click(function () { dialog(this); return
The dialog creation is: $(document).ready(function () { $(.jym).dialog({ autoOpen: false, modal: true, draggable: false,
load.js: jQuery(document).ready(function($) { $('.dialog ul li').click(function(e) { switch($(this).attr('id')) { case 'addProject': $('.addDialog').load('/add/addprojectform'); break; case
I have dialog created like this $('#add_error').click(function(e) { $('<div>') .load('/someaction/format/html/') .dialog({ title: 'Some title',
This is how my dialog is generated: $(function () { $(.btnDialog).click(function() { //e.preventDefault(); var
I have a JQuery UI modal: $('#avatar-manager').click(function () { $('#dialog').dialog('open'); return false; }); $('#dialog').dialog({
I have the following code. $(document).ready(function() { $('#btnOpen').click(function(e) { $('#content').modal({ onOpen: function(dialog) { dialog.overlay.fadeIn('slow',

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.