Hallo,
is it possible, to use javascript to automatically fill in forms,
once a site is loaded ?
that means, i would write a small html document, which has javascript
embedded.
it would first load a new site, and then fill out the forms by
'form path'
??? 2 8807
Guenther Sohler wrote:
Hallo,
is it possible, to use javascript to automatically fill in forms,
once a site is loaded ?
that means, i would write a small html document, which has javascript
embedded.
it would first load a new site, and then fill out the forms by
'form path'
???
Hi,
Yes, that is where JS is good at: forms.
eg: to change the value of some textfield named 'mytext', in a form named
'myform', try:
document.forms. myform.mytext.v alue='new value';
But you better get your hands on a good book, because the details of all the
elementtypes is too much to describe. (radio, checkboxes, text, textarea,
select, etc).
'Javascript, the definitive Guide', by O'Reilly would be a good choice in my
opinion.
Regards,
Erwin Moller
Guenther Sohler said the following on 2/12/2007 9:55 AM:
Hallo,
is it possible, to use javascript to automatically fill in forms,
once a site is loaded ?
that means, i would write a small html document, which has javascript
embedded.
it would first load a new site, and then fill out the forms by
'form path'
No, what you are describing can't be done. It is a security violation to
try to script a document from another domain. If you are wanting it for
personal use, you can use a bookmarklet that when clicked can fill out a
form.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: otto |
last post by:
i need to read a variable in a javascript and translate it to a form in
html
the javascript variable is:
<SCRIPT LANGUAGE='JavaScript'>RF2N('Total');</script>
and i need to put that variable as the value in this line
<input type="hidden" name="AMT" value="**">
|
by: Gregory A Greenman |
last post by:
I'm trying to write a program in vb.net to automate filling out a
series of forms on a website. There are three forms I need to
fill out in sequence. The first one is urlencoded. My program is
able to fill that one out just fine.
The second form is multipart/form-data. Unfortunately, I haven't
been able to fill that out in a way that makes the server happy.
I set up a copy of this form at my web site so that I could see
exactly what a...
|
by: DettCom |
last post by:
Hello,
I would like to be able to display or hide fields based on whether a
specific Yes/No radio button is selected. This is in conjunction with
a posting a just made here in the same group related to checkboxes.
Thanks!!!
|
by: Steph |
last post by:
Hello,
Can someone tell me the script to use for having a change on the same page
when using checkbox function ?
For example, i would to check one condition and display dynamically a button
if the condition is checked on the same page.
Thanks in advance for your help
|
by: Michelle Keys |
last post by:
I am trying to call a print function to print a string from a database
using javascript.
Which is RC_DATA of Varchar2(2500).
This is a javascript is not being used. I have a thing that needs to be
modified:
if(e.CommandName =="Print")
{
string parsedreceipt = null;
parsedreceipt = DecodeReceipt (e.Item.Cells.Text);
Session = parsedreceipt;
| |
by: Marcelo |
last post by:
Hi,
I need to make a robot that fills forms. I already made that with php
sites, but now I need that in a javascript pages site ( the robot can
be php,asp, asp.net ), anyone knows how can I do it? or somewhere I can
find more info?
Thanks!
Marcelo
|
by: eggie5 |
last post by:
Is it possible to get a file without using a form post?
I want to get the data (bytes) of a file, text or binary, and just
save it to a variable. Similar to the post body of a form that has a
file input element in it.
Ultimately what I want to do is get a file off client machine (that
they specify) and send it to the server using a standard post request.
This is exactly the same as a form post with an file input element,
but I don't...
|
by: shivendravikramsingh |
last post by:
hi friends, i m using a ajax function for retrieving some values from a database table,and display the values in required field,my prob is that the ajax function i m using is working f9 once,but if i change something in php file using in ajax function.it not refreshed,means its shows the previous result it not get updated.i can't understand whats the prob.this is the code i m using:
<?
include("config.inc.php");
//error_reporting(0); ...
|
by: fran7 |
last post by:
hi, I have two javascript form validation scripts.
Although the forms have different names, one of the scripts overrides the other and validates both. They have the same onsubmit, and one has a unique name (contact) and I cannot see why it is affecting the others search form which doesnt have a name.
onsubmit="return validate_form(this)"
the search validation is
function validate_required(field,alerttxt)
{
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |