All users were logged out of Bugzilla on October 13th, 2018

javscript submit dosn't sumit form

RESOLVED EXPIRED

Status

()

--
major
RESOLVED EXPIRED
14 years ago
13 years ago

People

(Reporter: djhammond, Assigned: bugzilla)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

javscript is not submiting form.

here is the pages source

<html>
<head>
<title>Calendar Test</title>
</head>
<body>
	<form name="_ctrl0a" method="post" action="calendar.aspx" enctype="" id="_ctrl0a">
<input type="hidden" name="__VIEWSTATE"
value="DA0ADgEFAQ4BDQAOAQUBDgENEAoMDA4CAQdFbmFibGVkARZfQ2FsZW5kYXJTZWxlY3RlZERhdGVzDgIIDgELAMA7D8D7xggAAAAAAAAAAAAAAAAA"
/>

		<h3>Calendar and properties</h3>
		<table id="Calendar1" cellspacing="0" cellpadding="2" border="0"
style="border-width:1px;border-style:solid;font-family:Arial;border-collapse:collapse;"><tr><td
colspan="7" style="background-color:Silver;"><table cellspacing="0" border="0"
style="font-family:Arial;width:100%;border-collapse:collapse;"><tr><td
align="Left" style="width:15%;"><a
href="javascript:__doPostBack('Calendar1','V1858')" style="color:
Black">&lt;</a></td><td align="Center" style="width:70%;">March 2005</td><td
align="Right" style="width:15%;"><a
href="javascript:__doPostBack('Calendar1','V1917')" style="color:
Black">&gt;</a></td></tr>
</table></td></tr><tr><td align="Center">Sun</td><td align="Center">Mon</td><td
align="Center">Tue</td><td align="Center">Wed</td><td align="Center">Thu</td><td
align="Center">Fri</td><td align="Center">Sat</td></tr><tr><td align="Center"
style="width:14%;"><a href="javascript:__doPostBack('Calendar1','1884')"
style="color: Black">27</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1885')" style="color:
Black">28</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1886')" style="color:
Black">1</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1887')" style="color:
Black">2</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1888')" style="color:
Black">3</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1889')" style="color:
Black">4</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1890')" style="color:
Black">5</a></td></tr><tr><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1891')" style="color:
Black">6</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1892')" style="color:
Black">7</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1893')" style="color:
Black">8</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1894')" style="color:
Black">9</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1895')" style="color:
Black">10</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1896')" style="color:
Black">11</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1897')" style="color:
Black">12</a></td></tr><tr><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1898')" style="color:
Black">13</a></td><td align="Center"
style="background-color:#CCAACC;color:Black;width:14%;"><a
href="javascript:__doPostBack('Calendar1','1899')" style="color:
Black">14</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1900')" style="color:
Black">15</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1901')" style="color:
Black">16</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1902')" style="color:
Black">17</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1903')" style="color:
Black">18</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1904')" style="color:
Black">19</a></td></tr><tr><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1905')" style="color:
Black">20</a></td><td align="Center"
style="background-color:Blue;color:Red;width:14%;"><a
href="javascript:__doPostBack('Calendar1','1906')" style="color:
Red">21</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1907')" style="color:
Black">22</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1908')" style="color:
Black">23</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1909')" style="color:
Black">24</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1910')" style="color:
Black">25</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1911')" style="color:
Black">26</a></td></tr><tr><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1912')" style="color:
Black">27</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1913')" style="color:
Black">28</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1914')" style="color:
Black">29</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1915')" style="color:
Black">30</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1916')" style="color:
Black">31</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1917')" style="color:
Black">1</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1918')" style="color:
Black">2</a></td></tr><tr><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1919')" style="color:
Black">3</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1920')" style="color:
Black">4</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1921')" style="color:
Black">5</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1922')" style="color:
Black">6</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1923')" style="color:
Black">7</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1924')" style="color:
Black">8</a></td><td align="Center" style="width:14%;"><a
href="javascript:__doPostBack('Calendar1','1925')" style="color:
Black">9</a></td></tr>

</table>

	<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />

<script language="javascript">
<!--
	function __doPostBack(eventTarget, eventArgument) {
		var theform = document.getElementById ('_ctrl0a');
		theform.__EVENTTARGET.value = eventTarget;
		theform.__EVENTARGUMENT.value = eventArgument;
		theform.submit();
	}
// -->
</script>
</form>
</body>
</html

Reproducible: Always

Comment 1

14 years ago
form was submitted with no problems. Also, please attach a the code to the bug
as a testcase instead of pasting in it:
https://bugzilla.mozilla.org/attachment.cgi?bugid=286177&action=enter
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.