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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:18:55+00:00 2026-05-26T22:18:55+00:00

I am developing a survey/contacting form for customer webpage(s). Main idea is that the

  • 0

I am developing a survey/contacting form for customer webpage(s). Main idea is that the form can be applied to website by adding only a single line of code to customers website (like fb like-button).

I know there are several similar implementations but i want to make my own and other hand to learn the technics of this kind of ‘applications’.

A php-file is called on customer website. All necessary javascript is passed to customer website and the div and it’s content is written by it (before this point a mysql query is used to fetch some data from database which are also displayed inside div, thats why the php is needed). Div contains also a iframe (which holds main content) and the content is loaded from different server (to avoid XSS).

Div is opened by clicking open-button on it and rest of it will be slide in from the behind browser borders (so it is not a (modal) popup).

JQuery is needed to control main div movements and it is loaded same time when main div. JQuery is loaded also in iframe because it is needed to customizing feedback form in iframe.

I am asking now…

  1. Is there any drawbacks which might cause problems later?
  2. Is there any needs for improvements?
  3. Will double JQuery cause problems or can it made some other way?
  4. Any other notices of this kind implementation?

I would most kindly give more information if needed.

  • 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-26T22:18:56+00:00Added an answer on May 26, 2026 at 10:18 pm

    Will double JQuery cause problems or can it made some other way?

    Yes, but not the way you mean. It’s perfectly fine to have an instance of jQuery in the parent window and another instance in the child window. That’s the best way of doing cross-document scripting, because jQuery has several functions that don’t work well when accessing nodes from a different document. The browser’s not going to fetch it twice, and the memory/execution overhead isn’t much these days.

    The real problem is, you’re proposing to load jQuery into someone else’s page. Your code in the parent window is a guest on a window owned by someone else, and that means you have to program more defensively to avoid clashing with script on the parent page.

    Loading a big hairy framework like jQuery into someone else’s page as a guest script is, in my opinion, fragile and rude. You are likely to interfere with scripts on the host page, not least other copies of jQuery (possibly of differing/incompatible versions). Use of noConflict to run two separate copies of jQuery in a page improves matters but it doesn’t solve all the problems as two jQueries share the same document nodes.

    Inside the iframe, go crazy, it’s your document. In the host window, be conservative. Make the minimum amount of change necessary to implement the desired behaviour. It’s not so difficult to write a sliding div without a large framework.

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

Sidebar

Related Questions

I am developing a survey invitation that can be embedded in many sites. To
Context I am developing a survey website where anyone can vote once. Obviously I
Developing an app that people pay a monthly subscription to use. They can pay
Developing a little survey webapp, ran into problem that deals with ranges for rating
Developing a .NET WinForms application: how can I check if the window is in
Developing a website and just trying to get back into the swing of (clever)
I'm developing an online survey application for my University project. I managed to save
I'm a noob, development wise and logistically-wise. I'm developing a site that lets people
Developing rails has become lots of fun over the year that I've done it,
Developing for iPhone, I have a collection of points that I need to make

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.