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

The Archive Base Latest Questions

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

In my HTML code, I’ve got a certain cell whose value should be cleared

  • 0

In my HTML code, I’ve got a certain cell whose value should be cleared if a link button is pressed. I’d like to achieve this using jQuery and here’s how I tried to do it but with no results:

var $delActionDate = $('#delete_Event');

        $delActionDate.live('click', function() {

            var myRow = $delActionDate.parent().parent();
            myRow.find('#dateCell').html() = "";

Any ideas on how to do 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-15T15:34:24+00:00Added an answer on May 15, 2026 at 3:34 pm

    As Luca said, to update the html content you use html("") rather than html()="".

    In additions, assuming your parent() stuff is correct based on your HTML, the change you need to make so that the selected row is based on which button is pressed should be: change

    var myRow = $delActionDate.parent().parent();
    

    to

    var myRow = $(this).parent().parent();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My HTML code goes like this: <div id=single><br><br> 1) effew<br> <input name=answer0 id=answer0 value=1
I've got HTML code that roughly looks like this: <li id=someid-11> <img src=... alt=alt
My html code is: <div title=test class=xyz>Tesing</div> I want it to look like: <a
My HTML code: <p>NEWS</p> <p> <form action=news.php method=post> <center><input name=NEW type=submit id=new value=NEW/> <input
html code: <asp:Button runat=server ID=btnTest Text=Test OnClick=btnTest_Click /> Jquery Code: $('[id$=btnTest]').click(function(){ $('[id$=btnTest]').attr('disabled', 'true'); });
HTML code: <input id=txtSizeBeforeValue type=text size=5 value=blabla> <input id=txtValueBeforeSize type=text value=blabla size=5> HTML parsed
HTML code: The HTML code is dynamically created. <li> <div class=above>What do I like
my html code: <select class=b_selectbox> <option value=0>Status</option> </select> <select class=b_selectbox> <option value=0>Type</option> </select> <select
Html code <select id=dropdwon1> <option value=1>Item1</option> <option value=2>Item2</option> <option value=3>Item3</option> </select> <select id=dropdwon2></select> I
in html code how to make tag to open a link in another page

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.