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

  • Home
  • SEARCH
  • 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 9150977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:41:19+00:00 2026-06-17T11:41:19+00:00

How can one create a popup/alert in javascript that shows the information and at

  • 0

How can one create a popup/alert in javascript that shows the information and at the same time allowsthe user to input data in the input fields of the HTML form.

  • 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-17T11:41:21+00:00Added an answer on June 17, 2026 at 11:41 am

    http://jsfiddle.net/rwVGt/

    HTML:

    <p>testingtestingtestingtestingtestingtestingtestingtestingtest ingtestingtestingtestingtestingtestingtestingtestingtestingt
      estingtestingtestingtestingtestingtestingt estingtestingtestingtestingtestingtesting</p>
    <input
    type="button" value="click for popup" onClick="popup()" />
    

    CSS:

    #pop
    {
      width: 200px;
      height: 200px;
      border: solid 1px #000;
      margin-top: -30px;
      margin-left: 20px;
      position: fixed;
      background-color: #fff;
    }
    

    Javascript:

    window.onload = function () {
      var popup = document.createElement("div");
      var text = document.createTextNode("blah blah blah");
      popup.appendChild(text);
      popup.style.visibility = "hidden";
      popup.id = "pop";
      document.getElementsByTagName("body")[0].appendChild(popup);
    };
    
    window.popup = function () {
      var pop = document.getElementById("pop");
      pop.style.visibility = "visible";
      window.setTimeout(function(){document.getElementById("pop").style.visibility="hidden";},1000);
    };
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create ONE javascript function that can do the following: onclick, a
One can create an anonymous object that is initialized through constructor parameters, such as
How can i ask one user to create a folder through one dialog box
One can create a SeekBar in XML as follows... <SeekBar xmlns:android=http://schemas.android.com/apk/res/android android:id=@+id/bpseekbar android:layout_width=fill_parent android:layout_height=wrap_content
I am learning PyQt and wonder if one can create custom/owner draw control like
There seem to be a number of different ways in which one can create
How can I create one query using both ICriteria and Linq? Example: var q
RailsCast #326 ActiveAttr explains how to create table-less models. How can one translate the
Can any one tell me if its possible to create a stored procedure in
Can any one tell me how to create the rounded button (Circular Button) in

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.