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

Checkbox onclick submit() not working in IE Mac

Any help with this problem would be greatly appreciated. I have a set of
checkboxes and I would like to submit the form they are when one of them
is checked. It works fine in IE, Netscape, and Mozilla on Win2K, also in
Mozilla on the Mac, but does not work in IE 5.2 Mac. When you click the
checkbox nothing happens.

Am I doing something incorrectly? Here's the code:

<form name="newRevenueBudget" method="POST" action="/budgetsurvey_02/05.do">

....

<input type="checkbox"
name="newRevenueSourceIndexes"
onclick="document.newRevenueBudget.submit(); return false;"
value="someValue">
Thanks.

Phester

Jul 20 '05 #1
2 15980
VK
If onsubmit event returns false, form doesn't submit. Maybe Mac's IE
gets false from onclick as being sent from onsubmit (triggered step
before)?
Try just ...onclick="document.newRevenueBudget.submit();... without
return values It doesn't needed here anyway.

Phester <ph*****@fakename.fake> wrote in message
news:3l********************@typhoon.sonic.net...
Any help with this problem would be greatly appreciated. I have a set of checkboxes and I would like to submit the form they are when one of them is checked. It works fine in IE, Netscape, and Mozilla on Win2K, also in Mozilla on the Mac, but does not work in IE 5.2 Mac. When you click the checkbox nothing happens.

Am I doing something incorrectly? Here's the code:

<form name="newRevenueBudget" method="POST" action="/budgetsurvey_02/05.do">
...

<input type="checkbox"
name="newRevenueSourceIndexes"
onclick="document.newRevenueBudget.submit(); return false;"
value="someValue">
Thanks.

Phester

Jul 20 '05 #2
> Phester <ph*****@fakename.fake> wrote in message
news:3l********************@typhoon.sonic.net...
Any help with this problem would be greatly appreciated. I have a set
of
checkboxes and I would like to submit the form they are when one of


them
is checked. It works fine in IE, Netscape, and Mozilla on Win2K, also


in
Mozilla on the Mac, but does not work in IE 5.2 Mac. When you click


the
checkbox nothing happens.

Am I doing something incorrectly? Here's the code:

<form name="newRevenueBudget" method="POST"


action="/budgetsurvey_02/05.do">
...

<input type="checkbox"
name="newRevenueSourceIndexes"
onclick="document.newRevenueBudget.submit(); return false;"
value="someValue">
Thanks.

Phester


VK wrote:
If onsubmit event returns false, form doesn't submit. Maybe Mac's IE
gets false from onclick as being sent from onsubmit (triggered step
before)?
Try just ...onclick="document.newRevenueBudget.submit();... without
return values It doesn't needed here anyway.

I removed the return value and now it seems to work. Thanks for the help.

Phester

Jul 20 '05 #3

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

Similar topics

0
by: claudel | last post by:
Hi I have a newb PHP/Javascript question regarding checkbox processing I'm not sure which area it falls into so I crossposted to comp.lang.php and comp.lang.javascript. I'm trying to...
2
by: Fred | last post by:
Hi, I defined a form consisting of checkboxes like: <form> <input type="checkbox" name=ck id=ck onclick="check(this.form)" <input type="checkbox" name=ck id=ck onclick="check(this.form)" ........
4
by: Fabri | last post by:
How can I, on button click, to select ONLY the following 4 checkbox? I would like to do this without a for loop through form.lenght because this is only an example and I have to apply this script...
4
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...
7
by: Ryan Ternier | last post by:
I have a check box on my page. When a user clicks this box I have a confirmation box come up. When the user clicks OK, true is returned, otherwise false. Now, when true is Returened, I want...
4
by: Benny Ng | last post by:
Dear All, <input type="checkbox" name="chkAgreement" value="0">I agree with the above terms and conditions <asp:ImageButton ID="ImgBtnSubmit" Runat="server" CausesValidation=True...
34
by: clinttoris | last post by:
Hello Experts, I have been told to post this in the Javascript forum as I want to do this client side just before my form gets submitted. Once the user clicks the submit button a javascript...
0
by: TechnoAtif | last post by:
<?php include "dbconnect.php"; include "commonFunc.php"; ?> <!----------------------------------> <table width="80%" border="1" cellpadding="2" cellspacing="0"> <tr > <td...
1
by: ahilar12 | last post by:
Hi all, I am new to php,my question is that in this following code i am retrieving many rows from the database which is working good.i want to delete a particular row(s) which is checked(checkbox)...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
agi2029
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,...
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.