This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JavaScript" Watch "JavaScript" New topic


velgapudi suresh
Ranch Hand

Joined: Aug 11, 2006
Posts: 32
Dear Folks,

I have a small problem in my application. I have a textbox and button.When a user click on the button javascript frame will be dispaly. In that frame it shows 1-30 numbers, if user select the number it will be display into the text box.How can we write the code

Please Help me

Thanks & Regards
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15379
FYI: Please do not email with the question, not going to answer it.

You did not say where the textbox is located so your options are

document.elementName.value = "foo";
parent.formName.elementName.value = "foo";
parent.frameName.formName.elementName.value = "foo";

I agree. Here's the link:
subject: JavaScript