So.. I have a form that submits to an ASP.net site made in C-sharp.
The ASP site is not mine, i do not have the server side code.
When I submit from my form by pressing the Submit button, I get
different results than when I use a javascript submit: form1.submit(); .
I think the javascript submit is working as it should, since I want
the server to process an __EVENTTARGET posting. When I click the
submit button, it does not process the __EVENTTARGET field. However,
it should really work the same way whether i click a button or whether
javascript submits, right? Why is there a difference? I used firefox
to see what fields were being posted to the server, and the POSTFields,
referrer, etc. all are identical.
Oh, btw, when I use libcurl to post the same fields, it does not
process the __EVENTTARGET either, as if I had clicked the submit button.
May 17 '06
10 6089 jo*********@gma il.com wrote: There is no onsubmit event handler.
Yes, there is. Your problem is that you do not make use of it,
and that you do not quote a bit of what you are replying to.
PointedEars
--
In the First World War, 13 million people were killed. In the Second
World War, 40 million people were killed. I think that if a third war
takes place, nothing is going to be left on the face of earth.
-- Shakira, 2003-02-05 @ MTV.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Xeon |
last post by:
Ok, the subject seemed not PHP related, but it does, as the submitted
form will be read/processed by PHP.
I have this HTML code:
<form method="post" action="foo.php">
<select name="blah" onChange="javascript:submit();">
<option selected value="1">opt1</option>
<option value="2">opt2</option>
<option value="3">opt3</option>
|
by: Margaret Werdermann |
last post by:
Hi all:
I'm having a nasty time with a particularly difficult piece of code
and was hoping someone might be able to help me. I have a FormMail
form that originally worked perfectly.
Then, I had to add a JavaScript function to the Submit button to make
a server function run when the form was submitted. Unfortunately,
this JavaScript wouldn't run when the button was designated as a
Submit, so I changed the button and placed a...
|
by: javascript_noob12 |
last post by:
Hi.
I am trying to create a CGI script that will use Perl to read a text file to
get a list of values, then turn that list into a menu on a website. The menu
will be a form with a JavaScript "submit" function. . When someone selects a
menu-item, the form will submit the value of that list-entry to another CGI
page.
The problem I'm encountering is that the script I've written submits every
value of the form rather than the one specific...
|
by: Joop |
last post by:
Hi all,
I'm kinda new to JavaScript, but hey... I'm trying anyway! ;-)
So, here's my problem :
I've created a table in my document, presenting a list of items, one
can 'select' by clicking on it... (Kinda like a menu, you make your
choice from) But since this table can get very long, I've put
something of a 'search-form' on top, which enables the user to make a
|
by: michael.friis |
last post by:
Im currently trying to build a simple extension to a website allowing
me ot have a list of users in a frame beside the actual site.
Problem is the actual website uses javascript to update the contents of
dynamic pages so a link to a user on the website is:
javascript:SubmitMain("/traveller.asp","u~14756|flag~14756")
So what i did to make the userlist is make a simple framesite with one
column for the userlist and one big coloumn for the...
| |
by: ljlolel |
last post by:
I'm posting this again because I did not explain myself well the first
time, so the problem was not being addressed. I made the following
page ( http://perla.princeton.edu/counselors/organization.php ) solely
for the purpose of showing a bug. It is not production code, it is a
test, made for testing, so style really doesn't matter.
This page illustrates that, for some reason, clicking on the submit
button has a different effect on the...
|
by: winstontuck |
last post by:
Hi
I am fairly new to javascript and html and I have the following
problem.
I have a page lets say page1. When something changes on page1 i set a
variable PossiblePageChanged to true. On page1 I have a link with
the
following properties : <A href="applypage1settings..and some
otherstuffhere" onclick="return CheckforPossibleChanges()">Page2</a>
|
by: janulam |
last post by:
Hello,
I have following code snippet:
...
function submitForm() {
document.forms.submit();
}
..
|
by: Rabel |
last post by:
I am a flash designer so I dont know a whole lot about the javascript
submit buttons (I may not even be describing it right sorry) but here
is the code I am using.
<IMG name="Checkout" value="Checkout" SRC="imagesButtons/
purchaseButton_r2_c2.jpg" onMouseOver="this.src = 'imagesButtons/
purchaseButton_r2_c2_f2.jpg'" onMouseOut="this.src = 'imagesButtons/
purchaseButton_r2_c2.jpg'"
onClick="JavaScript:document.forms.submit()">
|
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: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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: 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...
| |