473,486 Members | 2,429 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

submit button do not work on style.display property none

254 Contributor
Hi
I am having problem like I have four forms which displayed when a tab is clicked. for all these forms initially I made style.display="none" inside div tag and then javascript function is used on the tab to show these forms when tabA pressed it displays FormA and like wise.

In forms I have submit type button to delete the content using php. so when I pressed submit it takes form to the parent page. but in the form's action nothing is defined.

then I tried style.display="block" in formB and its submit button is working fine whereas other form whose style.display="none" submit donot work.

so how it will or I am making any mistake please do suggest me
Apr 4 '09 #1
1 3240
mukeshrasm
254 Contributor
@mukeshrasm
Sorry I was making mistake and it is I have not used method post so it was taking to parent form
Apr 4 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
18278
by: Halldór Ísak Gylfason | last post by:
In my application I have an iframe that is empty (and not visible) initially, however when a user presses a button a form is programmatically submitted and the target is set to the IFrame. I...
5
33858
by: terence.parker | last post by:
I have a PHP application which I wrote last year - and the JavaScript worked fine then. For some reason, now it doesn't - neither on IE nor Firefox. Has something changed? When I click on my...
8
1476
by: opt_inf_env | last post by:
Hello, I try to understand how the following script works. <style type="text/css"> .fauxLink {text-decoration: underline; color: blue; cursor: pointer; font-weight: bold; }
0
1542
by: Niks | last post by:
Hi, I am creating a simple .aspx page to add some fields with validation. I have used different .NET validations like REquiredFieldValidator, RegularExpressionValidator and showed the summary...
3
2591
by: Arun K | last post by:
Hi, I am creating a simple .aspx page to add some fields with validation. I have used different .NET validations like REquiredFieldValidator, RegularExpressionValidator and showed the summary...
4
3493
by: John Boy | last post by:
Hi, Can anyone help. This is really doing my nut in. 3 years ASP exp. and now doing .DOT which is a step in the wrong direction. Basically I am left with the code of a guy who has left. When I...
11
2281
by: Harvey Waxman | last post by:
How can I disable a submit button for a form if JS is disabled. In other words, JS must be enabled to submit the form. Thanks Harvey -- http://righttax/blog
6
1957
by: vunet.us | last post by:
Hello, I have an html form which users fill out and submit. The form contains one textarea which I want them to preview before submitting. This, probably, means that there will be a link/button...
15
3043
by: colyn7 | last post by:
I really can't see what's wrong in my code... the submit() onChange doesn't work.. I've tried.. <select name="ddlTestCenter" id="ddlTestCenter" style="width:180px"...
0
7105
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
7132
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,...
1
6846
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
7341
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
4564
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...
0
3076
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...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1381
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 ...
1
600
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.