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 6120047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:37:25+00:00 2026-05-23T15:37:25+00:00

I made a dialog,iframe var $frm = $(‘<iframe />’).attr(‘id’,’ifrmTV’), $dialog = $(‘<div />’).dialog({ autoOpen:

  • 0

I made a dialog,iframe

var $frm = $('<iframe />').attr('id','ifrmTV'), 
$dialog = $('<div />').dialog({ autoOpen: false, width: 'auto', hight: 'auto' });

then after some data processing I set $frm source and show the dialog something like:

$frm.attr('src', 'Http/WMP.htm').appendTo($dialog);
$dialog.dialog({title: 'title'}).dialog('open');      

I would like to know if there is a way in WMP.htm code to change the title of the dialog. jquery_UI generate a span with the class ui-dialog-title but it shouldn’t be accessible from the WMP.htm. any help would be greatly appreciated.

  • 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-05-23T15:37:26+00:00Added an answer on May 23, 2026 at 3:37 pm

    The page Http/WMP.htm that you are loading inside the iframe should also load jQuery. This is not necessary, but will make consistent when looking for the ui-dialog-title element.

    Note: read this about lowercase and uppercase urls.

    Now, inside your iframe, you can access the parent container using window.parent and, using jQuery, access any element with $('selector', window.parent.document). Now, the page that you load inside your iframe should know it’s owned dialog element id, so it can find it back. While you can accomplish this in various ways, I’ll just assume you have one dialog for this iframe loading Http/WMP.htm. So, you should be able to do something like

    var $frm = $('<iframe />').attr('id','ifrmTV'), 
        $dialog = $('<div />').attr('id', 'dlgTV')
                     .dialog({ autoOpen: false, width: 'auto', hight: 'auto' });
    
    //...
    
    $frm.attr('src', 'Http/WMP.htm').appendTo($dialog.dialog({title: 'Loading...'}));
    $dialog.dialog('open'); 
    

    And inside the page WMP.htm :

    $('#dlgTV', parent.document).prev().find('.ui-dialog-title').html('Some title');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Made this nice little loop for hiding and showing div's, works as a charm
i have made a file open dialog, it contains an edit control whose variable
How can I print a document using MFC Dialog Based Application? I have made
I have a custom made dialog winform. On it I have a label, textbox
I have made a dialog and a UI Tab in that dialog. In that
I made a small dialog with a JFormattedTextField, to enter a Float number between
I am trying to open input file dialog after clicking on link. I made
I have some custom made dialog that have on it Set Button , I
I have a couple of dialog screens made from FlxGroups. The first screen, LandingScreen
I have made a dialog that is shown by pressing on a button. I

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.