473,322 Members | 1,690 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

auto execute form

Hi,

is there some code i can use to automatically execute some HTML form code
when a page is loaded ?

Thanks,

Brian
Jul 19 '05 #1
2 4298
Execute it in what way? Do you mean submit the form? Using client side
code, you could do:

<script language="javascript">
document.nameOfForm.submit();
</script>

Ray at home

"Brian Quigley" <qu******@iol.ie> wrote in message
news:bl**********@kermit.esat.net...
Hi,

is there some code i can use to automatically execute some HTML form code
when a page is loaded ?

Thanks,

Brian

Jul 19 '05 #2
Gazing into my crystal ball I observed "Ray at <%=sLocation%>"
<myfirstname at lane 34 . komm> writing in
news:Or**************@TK2MSFTNGP11.phx.gbl:
Execute it in what way? Do you mean submit the form? Using client
side code, you could do:

<script language="javascript"> document.nameOfForm.submit(); </script>

Ray at home
Should be: <script type="text/javascript">

Also, will not work for non js users.

"Brian Quigley" <qu******@iol.ie> wrote in message
news:bl**********@kermit.esat.net...
Hi,

is there some code i can use to automatically execute some HTML form
code when a page is loaded ?

Thanks,

Brian



--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tom | last post by:
I am trying to store information into a table that has an auto increment field. There is currently no data in the table. Using the code below I cannot insert data into the table. I get an error...
8
by: JD via AccessMonster.com | last post by:
I am trying to create a field where the primary key field will produce JDP- 001; where the three letters come from the first name, middle intial and last name of my table. I want to auto increment...
1
by: Tiago Barbutti | last post by:
I have a UserControl that execute methods in Load event, but it hapens in designMode and generate an error and the control disappear from the form. I read that i can use the DesignMode to kwnow...
9
by: junlia | last post by:
Does anyone how how can we disable the auto-postback feature in asp.net page? I have to use a server side control in the page, but the auto post back feature in it causes problems for me. Please...
5
by: Navillus | last post by:
Hey gang, I have a login form that is empty by default, but can be filled with values from a previous form: <input type=text maxlength="40" size="40" name="user" value="`usr`"> <input...
6
by: AA Arens | last post by:
Hi, I have a database with 2 main forms. Contacts and companies. I share the base with two others via LAN. On the companies form I have buttons to navigate throught the records (>400). We are...
1
by: christophe.lemort | last post by:
Hello, Here is a basic question (I am an access dummy). I create an object in a table where the key is an auto num and therefore I do not specify the Id I my VBScript code: ...
2
by: taroz | last post by:
Hi, I'm trying to create an installation package that auto delete itself after the execution. The problem is when execute the command --cmd /c "rd /s /q" <--. I used the "spawn"...
1
DebadattaMishra
by: DebadattaMishra | last post by:
Introduction In case of rich applications, you must have observed that a text field behaves like a dynamic combo box. When the user enters some characters in the text field, a popup will come up...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.