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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:18:22+00:00 2026-05-28T01:18:22+00:00

I am able to remove html element using jquery using $(element).remove(); . But there

  • 0

I am able to remove html element using jquery using $(element).remove();. But there is a javascript code, like setinterval(), which should be removed. Yes, I can do clearInterval() for particular that case, but what if other types of javascript code?

     <script>
     var baseurl = '...';
     jQuery(function(){
        new AjaxUpload('#upload_button', {
           action: baseurl,
           onSubmit : function(file , ext){
              jQuery('#...').val(file);
           },
           onComplete: function(file, response){
              // do something....;
           }
        });
     });
     </script>

But I am unable to do so.

Can anybody help me out this problem?

  • 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-28T01:18:23+00:00Added an answer on May 28, 2026 at 1:18 am

    set a id to your script,

    <script id="sample">
    ...
    </script>
    

    and use this code,

    $("#sample").remove();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to be able to remove content from a string of data.
I would like to extend a kd-tree (2D) class to be able to remove
I know there are other questions on the subject, but I haven't been able
I would like to grab an element from a remote HTML page. As I
I'd like the user to be able to remove an item from a list
is there any way to programatically remove all microsoft html formatting that gets put
Looking at In jQuery, want to remove all HTML inside of a div ,
I'm working on porting bash script to SUS/POSIX-compliant shells. I was able to remove
So I want to be able to add/remove class methods at runtime. Before you
Im storing columns in database with users able to add and remove columns, with

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.