Question about Computers & Internet

1 Answer

Javascript code for generation of textbox on clicking

Posted by kapil_manash on


1 Answer

Alexander Kogl

  • Level 2:

    An expert who has achieved level 2 by getting 100 points


    An expert that got 10 achievements.


    An expert that got 5 achievements.


    An expert who has written 7 tips or uploaded 3 video tips

  • Expert
  • 147 Answers

Kapil, Pretty much just copy and paste that and change the title part in parentheses. Play with the code a little bit and see what you come up with. Be sure to keep backups each time you make a change! Code <html><head><title>(Type a title for your page here)</title>

<script type="text/javascript">
function make_blank()
document.form1.type.value ="";

<body >

<form name=form1 method=post action='test.php'>
<b>Type</b><input type=text name=type value='Enter your user id' onclick="make_blank();">Enter User ID
<input type=submit value=Submit> </form>

-------------- Good luck and take care,

Posted on Aug 08, 2008


Add Your Answer

Uploading: 0%


Complete. Click "Add" to insert your video. Add



Related Questions:

1 Answer

How to enable javascript

Google Chrome (15.0)
  1. Click the spanner icon on the browser toolbar.
  2. Select Options.
  3. Click the Under the Hood tab.
  4. Click Content Settings in the 'Privacy section.'
  5. Select Allow all sites to run JavaScript in the 'JavaScript' section.
Mozilla Firefox (8.0)
  1. Select Tools from the top menu.
  2. Choose Options.
  3. Choose Content from the top navigation.
  4. Select the checkbox next to Enable JavaScript and click OK.
Internet Explorer (9.0)
  1. Select Tools from the top menu.
  2. Choose Internet Options.
  3. Click on the Security tab.
  4. Click on Custom Level.
  5. Scroll down until you see the section labeled 'Scripting.'
  6. Under 'Active Scripting,' select Enable and click OK.
Apple Safari (5.0)
  1. Open the Safari menu on your browser's toolbar.
  2. Choose Preferences.
  3. Choose Security.
  4. Select the checkbox next to Enable JavaScript.

Mar 27, 2012 | Computers & Internet

1 Answer

We would like to switch back to classic view

After switching to beta Yahoo wouldn't allow you to return to the classic version of yahoomail. However there is a way to get through this. Turn off the Javascript of your browser. ___________________________________

In case you dont know how to turn the javascript off:
Internet Explorer: tools > internet options > security. In security click "custom level" > disable Active Scripting in the scripting section.

Firefox: tools > options > content > click on "disable Javascript".

Google Chrome: Wrench button (on the upper right of the browser) > options > Under the Hood > Content Settings button > select "Do not allow any site to run JavaScript" in the Javascript section. ___________________________________
After disabling your javascript try to reload the page of your yahoomail. Then You will be asked to enable javascript or switch back to an older version of yahoomail (located at the lower part). Of course click the option that says return to an older version of yahoomail which is the last option. After that you will be brought back to your yahoomail classic view.
After doing this, DO NOT FORGET TO TURN YOUR JAVASCRIPT ON since there are functions in yahoomail that required javascript.

Jul 11, 2011 | Yahoo Mail

1 Answer

I have a flash button and an html textbox. how to show a value 10$ in html textbox on flash button click

I believe what you are looking for is what is known as "GetElementByID".
This is used in JavaScript to allow control over html elements within the page. This can also be used to control back and forth between JavaScript, the Flash movie, and the HTML code.
Here is a website explaining this.
I hope this helps you, good luck!

Aug 10, 2010 | Computers & Internet

1 Answer

Trying to view slide show in Flickr. Says I need

All web browsers in WIndows XP will usually have JavaScript enabled by default, but on occasion, it will be turned off. By turning JavaScript on in your web browser, you will have access to more interactive content when you visit certain websites. For Windows XP users, JavaScript can be enabled in both the Internet Explorer and Firefox web browsers. Open the Internet Explorer Click on "Tools" in the top menu bar and choose "Internet Options."
Go to the "Security" tab at the top of the window and click on the "Custom Level" button. croll down to the "Scripting" category and click on the "Enable" option next to "Active Scripting." JavaScript is now enabled.
  • Step 4 Scroll down to the "Scripting" category and click on the "Enable" option next to "Active Scripting." JavaScript is now enabled.

  • Read more: How to Turn on Javascript in Windows XP |

    Jul 06, 2010 | Computers & Internet

    1 Answer

    How do I enable javascript on a mac os10.5.3?I have updated my browser (Firefox) and my firmware, also have checked enable javascript from preferences but I am still getting a message that tell me I have...

    for mozilla
    Select Preferences from the Edit menu.
    Click the arrow next to Advanced.
    Click Scripts & Plugins.
    Check Navigator beneath "Enable Javascript for".
    Click OK.
    Click Reload

    for firefox

    Select Options from the Tools menu.
    Click the Web Features icon.
    Check "Enable JavaScript".
    Click OK.
    Click Reload.

    Sep 11, 2009 | ArcMedia JavaScript Source Code 3000 Pro...

    1 Answer

    How to create Dynamic Lable & TextBox & save their Values in DB.

    Best way to do this is to place label and textbox as usual but hide them from the properties.
    In the SaveButton Click event, you can set the property for the label and textbox to visible dynamically by code.

    Apr 24, 2009 | Microsoft Designing ASP.NET Applications...

    1 Answer

    Can u please send me the follwing code. I want 2009 calendar with java script code ,so the code shoude be seen by clicking mouse it shoude be disply thanks, wish u ahappy new year

    here it is. check the example available to see if it suits your needs.
    follow the instructions and it will display in your web page.
    you can

    Jan 03, 2009 | ArcMedia JavaScript Source Code 3000 Pro...

    2 Answers

    Vb code for automatic number change

    You want the code for when you press enter in textbox it automatically change to 1.

    I am typing C# code you can easly covert it to VB.Net code

    make an event for key press for textbox
    and write the followting code in the event
    IF textbox1.text = ""
    textbox1.text = "1"
    End IF

    I hope your problem will solve with this If need more assistance let me know. If your problem is solved then don't forget to make answer my thread.


    Nov 17, 2008 | Computers & Internet

    1 Answer

    Javascript is enabled but it keeps telling me I need to enable it

    On IE, clcik Tools>Manage Add Ons.

    Is Shockwave Flash Object enabled? Is the file Flash10a.ocx?

    Oct 23, 2008 | ArcMedia JavaScript Source Code 3000 Pro...

    Not finding what you are looking for?
    Computers & Internet Logo

    Related Topics:

    101 people viewed this question

    Ask a Question

    Usually answered in minutes!

    Top Computers & Internet Experts


    Level 3 Expert

    13434 Answers

    Muntejaya Ginting
    Muntejaya Ginting

    Level 3 Expert

    10422 Answers

    Brad Brown

    Level 3 Expert

    18342 Answers

    Are you a Computer and Internet Expert? Answer questions, earn points and help others

    Answer questions

    Manuals & User Guides