tagged [submit]

How to set text color in submit button?

How to set text color in submit button? I tried to change the color of the text in the submit button type but, I don't know why I am not able to change it. ``` .button { width: 105px; height: 20px; ...

14 Jul at 12:15

Submit Button Image

Submit Button Image I want to use a Submit Button Image instead of the standard Button. I searched on Google and SO and got a few different ways. Which is the right way of using an Image as a Submit B...

2 Aug at 06:53

Change value of input and submit form in JavaScript

Change value of input and submit form in JavaScript I'm currently working on a basic form. When you hit the submit button, it should first change the value of a field, and then submit the form as usua...

13 Jul at 21:22

add onclick function to a submit button

add onclick function to a submit button I'm just learning javascript and php. I created a contact form and I'd like the submit button to accomplish two things when I press it: 1. submit the data to me...

23 May at 12:34

Allow Enter key to login in asp.net?

Allow Enter key to login in asp.net? I have a standard asp:login control: In Internet Explorer, pressing Enter does not submit the form, but IE beeps at me 10 times rapidly. In other browsers E

23 May at 11:58

validation of input text field in html using javascript

validation of input text field in html using javascript ``` function required() { var empt = document.forms["form1"]["Name"].value; if (empt == "") { alert("Please input a Value"); ...

How to open a new window on form submit

How to open a new window on form submit I have a submit form and want it to open a new window when users submits the form so i can track it on analytics. Here is the code I'm using: ```

7 Sep at 02:55

jQuery function BEFORE form submission

jQuery function BEFORE form submission I am trying to fire a function using Jquery when the form submit button is clicked, but the function needs to fire BEFORE the form is actually submitted. I am tr...

19 Nov at 01:13

Submitting HTML form using Jquery AJAX

Submitting HTML form using Jquery AJAX Im trying to submit a HTML form using AJAX using [this example](http://jquery.malsup.com/form/). My HTML code: ``` First Name Name

8 Feb at 03:30

HTML - How to do a Confirmation popup to a Submit button and then send the request?

HTML - How to do a Confirmation popup to a Submit button and then send the request? I am learning web development using `Django` and have some problems in where to put the code taking chage of whether...

11 Jul at 13:46

How to locate and insert a value in a text box (input) using Python Selenium?

How to locate and insert a value in a text box (input) using Python Selenium? I have the following HTML structure and I am trying to use Selenium to enter a value of `NUM`: ``` My title ...

Clicking submit button of an HTML form by a Javascript code

Clicking submit button of an HTML form by a Javascript code I don't know much about WEB probramming, so feel free to ask if I'm missing any details. There is a certain website which I'm visiting very ...

Submitting a form by pressing enter without a submit button

Submitting a form by pressing enter without a submit button Well I am trying to submit a form by pressing enter but not displaying a submit button. I don't want to get into JavaScript if possible sinc...

14 Jun at 20:5

JavaScript post request like a form submit

JavaScript post request like a form submit I'm trying to direct a browser to a different page. If I wanted a GET request, I might say But the resource I'm trying to access won't respond properly unles...

27 Dec at 19:51

Avoiding form resubmit in php when pressing f5

Avoiding form resubmit in php when pressing f5 I have the following code on my site (using php and smarty) to try and avoid a form resubmitting when I hit f5: ``` if ($this->bln_added == false) { if...

26 Sep at 20:57

React - clearing an input value after form submit

React - clearing an input value after form submit I'm presented with a rather silly problem. I am in the process of creating my first React application and I have encountered a little issue, where I a...

18 Feb at 22:52

Javascript change color of text and background to input value

Javascript change color of text and background to input value I'm going to use javascript to make a function for changing color of background, as well as text simultaneously - based on the value of a ...

18 May at 15:18

Submit form without reloading page

Submit form without reloading page I have a function built in JavaScript that I want to be executed after a form submit is hit. It basically changes the look of the page completely. But I need a varia...

30 Nov at 11:52

Submitting a multidimensional array via POST with php

Submitting a multidimensional array via POST with php I have a php form that has a known number of columns (ex. top diameter, bottom diameter, fabric, colour, quantity), but has an unknown number of r...

Good solution to the 'preventing default button on form from firing' problem?

Good solution to the 'preventing default button on form from firing' problem? I need a solution for the age old problem of a 'default button' firing undesirably. i.e you hit enter in a text box, but t...

Serializing and submitting a form with jQuery and PHP

Serializing and submitting a form with jQuery and PHP I'm trying to send a form's data using jQuery. However, data does not reach the server. Can you please tell me what I'm doing wrong? My HTML form:...

Multiple Forms or Multiple Submits in a Page?

Multiple Forms or Multiple Submits in a Page? I'm creating a page with the products sold in the website. I'd like to include an "add to cart" button near each product, which are listed with markup sim...

3 Jan at 14:9

What is a good method for preventing a user from submitting a form twice?

What is a good method for preventing a user from submitting a form twice? I have a purchase page and I don't want the user to be able to refresh the page and resubmit the form once they get to the 'or...

23 May at 12:26

How to stop INFO messages displaying on spark console?

How to stop INFO messages displaying on spark console? I'd like to stop various messages that are coming on spark shell. I tried to edit the `log4j.properties` file in order to stop these message. Her...

31 Oct at 08:43

Add JAR files to a Spark job - spark-submit

Add JAR files to a Spark job - spark-submit True... it has been discussed quite a lot. However, there is a lot of ambiguity and some of the answers provided ... including duplicating JAR references in...