How can i add two submit buttons in a single form.plz help me out.
Put some javascript
<script language="javascript">
function whichButton(buttonNumber) {
document.forms['myForm']['myButton'].value = buttonNumber;
}
</script>
<input type="submit" onClick="whichButton('1');>
<input type="submit" onClick="whichButton('2');>
or
You could do one of two things.
1) Name the buttons differently. You could then check for the presence of
either name, rather than one name and two different values[1].
2) Use the BUTTON element, and place an IMG element inside it. This will
keep the standard functionality, but it is rendered horribly by Internet
Explorer. By contrast, it looks quite nice in Opera, and the button can be
styled so that you can't even see it (IE ignores the same styling). I
don't know how it will look in Mozilla and Netscape, but probably a lot
better than IE.
You know, I always trying to use the help of professionals. If you want to learn how to create an application like whatsapp or something like this, then use react js company. If you don't know what it is, then look on the Internet. This is such an application development framework, very convenient and free. But don't get carried away with it like me. It is best to use some kind of plugin to create your own service.
176 views
Usually answered in minutes!
×