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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:09:24+00:00 2026-06-09T13:09:24+00:00

<input id=btnupdate type=button value=Update onclick=update()/> <img id=loadupdate src=http://localhost/connectu/styles/images/load_big.gif> This code is returned by and

  • 0
<input id="btnupdate" type="button" value="Update" onclick="update()"/>
<img id="loadupdate" src="http://localhost/connectu/styles/images/load_big.gif">

This code is returned by and PHP script in response to AJAX request. The update() function contains the code to hide the button and the image.

document.getElementById('btnupdate').style.display='none';
document.getElementById('loadupdate').style.display='none';

The update() function is in the native file. But the problem is, image gets hidden but not button.
I tried FIREBUG. No javascript errors.

  • 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-06-09T13:09:25+00:00Added an answer on June 9, 2026 at 1:09 pm

    This should be style.display:

    function update(){
        document.getElementById('btnupdate').style.display='none';
        document.getElementById('loadupdate').style.display='none';
    }
    

    SEE IT’S WORKING

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

Sidebar

Related Questions

input type=button name=colr value= Blue onclick=document.bgColor='#0000FF' Basically i have done buttons using javascipt to
Input rz value In the head I have: Event.observe(window, 'load', function() { $$(input).each(function(field){ Event.observe(field,
Input type with id 'typehere'. There is a keydown event set on typhere .
In my web page, I need to populate button according to parameter value called
Input <html><body><p>foo <a href='http://www.example.com'>bar</a> baz</p></body></html> Output foo bar baz I know of htmldoc.DocumentNode.InnerText ,
input field with type file used for browsing file .How to make it for
So the following code: $product_id = $(this).parent().parent().html(); Produces this: <div class=right> <input value=6 name=quantity
input.xml: <comp> <link id=#c1-tbl-0001/> </comp> output.xml: <comp> <link newid=#c1-tbl-0001/><tableno>1.1</tableno> </comp> i need the value
Input file (HTTP request log file): GET /dynamic_branding_playlist.fmil? domain=915oGLbNZhb &pluginVersion=3.2.7_2.6&pubchannel=usa& sdk_ver=2.4.6.3 &width=680&height=290&embeddedIn=http%3A%2F%2Fviewster.com%2Fsplash%2FOscar-Videos-1.aspx%3Futm_source%3Dadon_272024_113535_24905_24905%26utm_medium%3Dcpc%26utm_campaign%3DUSYME%26adv %3D573900%26req%3D5006e9ce1ca8b26347b88a7.1.825&sdk_url=http%3A%2F%2Fdivaag.vo.llnwd.net%2Fo42%2Fhtt p_only%2Fviewster_com%2Fv25%2Fyume%2F&viewport=42
Here is some of the form I have, with 3 submit buttons <input type=image

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.