473,412 Members | 2,174 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,412 software developers and data experts.

javascript checking before submit butto

Hi

I embedded in HTML code checking my form before sending it:
I get the following error:

What is the way to do JS checking on the form with runat="server"?

Regards

Darek T
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

Compiler Error Message: CS0117: 'ASP.edukon_rejestracja_aspx' does not
contain a definition for 'checkboy'

Source Error:
Line 121: <TR>
Line 122: <TD style="WIDTH: 625px; HEIGHT: 21px">
Line 123: <asp:Button id="Button1" runat="server" Text="Zatwierdz
dane" BackColor="Khaki" BorderColor="Red"
onclick="checkboy()"></asp:Button></TD>
Line 124: <TD style="HEIGHT: 23px"></TD>
Line 125: </TR>

Source File: c:\inetpub\wwwroot\idn\edukon_rejestracja.aspx Line: 123

Jul 14 '06 #1
2 1380
Are you sure checkboy() is spelt correctly? ;)

Dariusz Tomon wrote:
Hi

I embedded in HTML code checking my form before sending it:
I get the following error:

What is the way to do JS checking on the form with runat="server"?

Regards

Darek T
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

Compiler Error Message: CS0117: 'ASP.edukon_rejestracja_aspx' does not
contain a definition for 'checkboy'

Source Error:
Line 121: <TR>
Line 122: <TD style="WIDTH: 625px; HEIGHT: 21px">
Line 123: <asp:Button id="Button1" runat="server" Text="Zatwierdz
dane" BackColor="Khaki" BorderColor="Red"
onclick="checkboy()"></asp:Button></TD>
Line 124: <TD style="HEIGHT: 23px"></TD>
Line 125: </TR>

Source File: c:\inetpub\wwwroot\idn\edukon_rejestracja.aspx Line: 123
Jul 14 '06 #2
Onclientclick="checkboy()"

Jul 14 '06 #3

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

Similar topics

1
by: zapounidous | last post by:
I have a form that when the user clicks on button calls a servlet that performs a query on a database and displays the results on a ne window. The user selects from the new window and with the use...
4
by: Dave Blair | last post by:
Hi, I have a problem with our intranet, we are planning to install Firefox instead of Internet Explorer onto some new PCs. However, we can't get the following JavaScript to work in Firefox and...
6
by: Marios Koumides | last post by:
I have a page written in ASP and I added some Javascript code to ensure the input boxes are filled with correct data. That check is performed every time the user moves out from a textbox. Now right...
12
by: Stanley | last post by:
Hi, I'd like to write a HTML page which can help me directly log in my Yahoo!mail or Gmail account without typing user name and password. Basically, I want to set up a link, click it and pop up...
2
by: bbcrock | last post by:
I created a "cancel" button for my form at the clients' request, I accidentally copied a submit button and added an OnClick event- a very simple javascript.history function. It did not appear to...
7
by: Bruno Alexandre | last post by:
Hi guys, Sorry about the off topic, but I can't find the ASP group just the ASP dot NET If I want to block a user to change a form after submiting, I add a function that will disable the...
4
by: ayende | last post by:
I got the following JS function: <script language="javascript" type="text/javascript"> function addUser() { var users = document.getElementById('users'); var hidden =...
18
by: Andrew Wan | last post by:
I have been developing web applications with ASP & Javascript for a long time. I have been using Visual Studio 2003.NET. While VS2003 is okay for intellisense of ASP & Javascript, it's still not...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
tracyyun
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.