473,473 Members | 1,874 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how to Open new tab after click on submit button

1 New Member
How can i open this link in new tab after click on submit buton

Expand|Select|Wrap|Line Numbers
  1. <td
  2. <input name="submit_btn" class="btn btn-primary" id="btn3" value="Appointment Login" onclick="document.OnlineForm.action = 'ReprintAppt.jsp'" type="submit"> </div> </td>
Dec 21 '15 #1
2 13657
Luk3r
300 Contributor
You can accomplish this by using <form>..</form>.

Expand|Select|Wrap|Line Numbers
  1. <form action="http://www.yourSite.com/yourPage" method="get" target="_blank">
  2.     <input type="submit" value="submit" />
  3. </form>
Dec 21 '15 #2
Sherin
77 New Member
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <body>
  3.  
  4. <h1>click on submit button</h1>
  5.  
  6. <form action="/action_page.php" method="get" target="_blank">
  7.   <label for="fname">First name:</label>
  8.   <input type="text" id="fname" name="fname"><br><br>
  9.   <label for="lname">Last name:</label>
  10.   <input type="text" id="lname" name="lname"><br><br>
  11.   <input type="submit" value="Submit">
  12. </form>
  13. </body>
  14. </html>
May 25 '20 #3

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

Similar topics

2
by: Eli | last post by:
HI! I made some quiz using one HTML form (few question with few radio-button each like potential answers) that have one Submit button. I would like to simulate click on this button (e.g. named...
2
by: dipesh10 | last post by:
I am doing one project with asp net 2.0 and c# ,i have master page and content page , in content page i have 10 text box and one submit button , when submit will click those text box need to...
4
by: billa856 | last post by:
Hi, My project is in MS Access. In that I have one Form(DataEntry) which I am using for entering data into the Table(PRODUCTION). Now after entering data in Textboxes when I click on...
3
vyon13
by: vyon13 | last post by:
hello... i have a problem regarding to my proj that i was working... this is the prob.. in my application form there are so many categories to be fill up... i realize that if i will put all the...
8
by: gubbachchi | last post by:
Hi all, I would like to know how to change the background color of a particular row when the submit button is clicked. I mean to say when the user makes a wrong entry in the textbox and click...
3
by: ghjk | last post by:
I have a web page which is used to enter user data. In there I have 4 buttons named as "Submit, Confirm,Edit,Cancel". User should enter data and click "Submit " button. Then I want to display all...
3
by: newlearner | last post by:
Hi All I have an interview question What will happen if i click the submit button twice in a JSP. Will the second request be processed or not. Thanks new learner
6
by: luke noob | last post by:
I would like to use jquery, but couldnt find a subject on that so posted this in javascript hope thats ok. my HTML form is like this <form id="10" method="post" action=""> <input...
0
by: teja1524 | last post by:
<h:body> <h:form id="test"> <p:breadCrumb model="#{comp.model}"> </p:breadCrumb> <iframe id="dd" src="studinfo.xhtml" name="target" width="1345" height="595"></iframe> </h:form> when...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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,...
1
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...
0
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
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.