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

  • Home
  • SEARCH
  • 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 768103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T18:07:42+00:00 2026-05-14T18:07:42+00:00

I have an iFrame like so: <iframe width=100% frameborder=0 height=470 allowtransparency=true name=productframe id=productframe style=border-bottom:1px

  • 0

I have an iFrame like so:

<iframe width="100%" frameborder="0" height="470" allowtransparency="true" name="productframe" id="productframe" style="border-bottom:1px solid #eee"></iframe>

The iframe contains several line items drawn from a sql server db, and I can check any of the checkboxes I want to perform a task with – in this case delete them. I have a button in the parent document that says “Delete selected”, and I’d like to be able to click this button and populate a hidden field in my parent page with the values of the selected checkboxes in the child iframe.

My checkboxes look like this:

<input id="Checkbox1" type="checkbox" value="47" title="Select this row" name="selectItem"/>

I have an instance of jquery on my parent page so I can make use of jquery selectors, I just have no clue as to the syntax needed to do this.

Thanks in advance to anyone who can help me on this.

  • 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-14T18:07:43+00:00Added an answer on May 14, 2026 at 6:07 pm

    if those checkboxes aren’t in a form, something like

    var ifr = $('iframe').contents(),
    var chb = ifr.find('input:checkbox');
    
    if(chb.length){
       ifr.find('body').append($('<form/>', {
          id:   'tempform',
          css:  {display:none;} 
       }));
       ifr.find('input:checkbox').each(function(){
           ifr.find('#tempform').append($(this).clone());
       }
    
       var serializedString = ifr.find('#tempform').serialize();      
       // do something with the serializedString
       ifr.find('#tempform').remove();
    }
    

    and you could put the serializedString into a hidden field. Hmm might be overkill, but I was in the mood for it :p
    It’s all untested.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I have something like this: <p>Element<p> <iframe src = otherPage.html style = width:100%;height:100%>
I would like to have an iframe take as much vertical space as it
I have a page which work like a navigation and a iframe in this
I have an iframe. The content is wider than the width I am setting
I have an iframe that loads a page that I would like to disable
I have an iframe that loads a page that I would like to disable
I don't have access to this iframe's source directly, so I would like to
I have a snippet to create a 'Like' button for our news site: <iframe
I have the following iframe control (intended to be a facebook like button): <iframe
Basically, I have an iframe embedded in a page and the iframe has some

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.