permaculture playing cards
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 REST with Spring (video course) this week in the Spring 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: 15385
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
It's not a secret anymore!