Solved

Simple java question

Posted on 2000-03-09
6
203 Views
Last Modified: 2010-04-09
My pageis in  a frame and has a subbmit button, how can I automatically
get this button pushed once the page has loaded?
The idea is I have a frame loaded with hiddens, I want these hiddens to appear in another frame that is really a button area for submitting the hidden data.
regards
0
Comment
Question by:rickyr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 8

Expert Comment

by:xabi
ID: 2600846
Why to click a button? Why don't you make this:

If your button is something like:
<input type="button" value="my button" onclick="do_domething()">
Delete this button and add this to the body tag:
<body .... onload="do_something()">

If this is not what you was looking for just explain your question better.

xabi
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2600848
<BODY onLoad='document.nameofmyform.submit();'>
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2600850
DOH!  xabi, you are too fast!
0
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

 
LVL 33

Accepted Solution

by:
knightEknight earned 50 total points
ID: 2600857
I agree, but if clicking the button is really what you want to do:

<BODY onLoad='document.nameofmyform.nameofmysubmitbutton.click();'>

<FORM name='nameofmyform'  ... >
<INPUT type='submit' name='nameofmysubmitbutton'>
0
 
LVL 8

Expert Comment

by:xabi
ID: 2600995
That's right knightEknight

:)

           xabi
.... as fas as you can see ...
         hehehehe
0
 
LVL 3

Author Comment

by:rickyr
ID: 2601773
Thats what I wanted.
Don't know what I was supposed to do with....
do_something()
Was there supposed to be a function written to hadle this?
Knight's answer was more complete, thanks anyway.
Best Regards
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question