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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:44:21+00:00 2026-05-31T10:44:21+00:00

I am new to JQuery and I have the following issue: Source file: function

  • 0

I am new to JQuery and I have the following issue:

Source file:

function handleDropEvent( event, ui )
{
    var draggable = ui.draggable;

    switch (draggable.attr('id'))
    {
        case "artOfBeing":
            alert("Life is a bunch of pointless moments.");
            break;

        case "perfectAndroid":
            $('#dataFrame').load('android/androidConfessions.html #androidData');
            break;
    }

    return false;
}

Ajax should load the following file but it only displays <div id="androidTip"> content and the Javascript is completely ignored! How can I fix this please?

<div id="androidData">
    <div id="androidVideo" style="width:640px; height:360px; background-color:#25283c; margin-left:70px; margin-top:0px;">
    </div>

    <script type="text/javascript">
        FlashReplace.replace("androidVideo", "thoughtOfYou/thought.swf", "flash-element-id", 640, 360, 10);
    </script>

    <div id="androidTip">
        <div><span style="font-weight:bold">"Android"</span> - An alien female incapable of breeding... Even then love gets old and dies.
             <div id="xClose" style="float:right; margin-left:5px; cursor:pointer;">x</div>
        </div>
    </div>
</div>

Thank you very much.

  • 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-31T10:44:22+00:00Added an answer on May 31, 2026 at 10:44 am

    I don’t think the JS code on your html file will get called when appended to your document. You need to call the JS function from a callback of the load function.

    Something like:

    $('#dataFrame').load('android/androidConfessions.html #androidData', function() {
        FlashReplace.replace("androidVideo", "thoughtOfYou/thought.swf", "flash-element-id", 640, 360, 10);
    
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im new to jQuery and have a slight issue with the following navigation: http://jsfiddle.net/6Dh8j/7/
I have the following jQuery (admittedly messy at the moment) which appends a new
I am still new to Javascript and JQuery. I have written a small function
I have a following issue - I'm using jQuery to add additional input forms
I have the following code to count and trigger some functions using jQuery: jQuery('#input_guideName').keyup(function(e)
I am somewhat new to jQuery and I have a problem with something I
I have application that brings response via Ajax and creates 5-20 new jQuery click
I'm new to jQuery and I want to have a input box from a
I'm new to JQuery and was wondering how can I have Changes saved! displayed
I'm kind of new to JQuery and was wondering how can I have the

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.