473,378 Members | 1,037 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,378 software developers and data experts.

Open button link in new tab (pre-made page, URL not in <>)

Hi there,

I know the obvious ad: target="_blank" after a url, but its a pre-made page that I am editing and you just ad the url onto a blank link with no <> and the page grabs it and inserts it where need be.

Later in the page is this code for a button:
Expand|Select|Wrap|Line Numbers
  1. <button id="surveyAgree" data-tracking-suffix="<?php echo $buttonClickTrackingSuffix; ?>" class="stepButton yesBtn" onclick="<?php echo $onclick; ?>">I AGREE!</button> 
Is there somewhere there that I can ad something to make it open in a new tab, or does the css have to be edited?

OR could I just replace the script that is grabbing the URL with the actual URL?

OR is there something I can add to the URL? as I mentioned it's just on a line by itself, not inside <> so it is just like:

http://example.com

Thanks for having a look!

Much appreciated
BrandonJ
Aug 29 '18 #1
0 6969

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

Similar topics

2
by: Jean-Yves | last post by:
Hi. I would like to open an ASP.NET page from a Web Method like this: Form my WinForm App: OpenLink("Select * From Customers", "http://myserver/ReportApp/ShowReport.aspx") <(Web Method)> _...
6
by: jake | last post by:
How do you get or save a file from/to a client (button on web page) once they are authenticated? The client could be Mac, Linux or Windows. Can I do it all with IIS and ASP.NET?
3
by: Daves | last post by:
I'd like to have a button on page A to open a FormView on page B... and in Insert mode! How can I do that?
4
by: Larry | last post by:
Hi All, How I can open a new web page in a web form? I know response.redirect("...aspx") will re-direct the current page to another. However, what I want is to remain the current page unchange...
8
by: Axel Gallus | last post by:
I want to realize the following.... The user logs in to a certain webpage (username & password). Then the user sees a html page with a link in it. This link is a target="_blank" link, so it...
0
by: rinmanb70 | last post by:
I open a report with a button on a form and I'd like to have the report open to the last page. I tried using sendkeys and it works when I manually open the report from Reports on the msaccess...
6
by: Matt | last post by:
On my master page i have build 5 link buttons. First Page I receive ID and set the ID in master page Property so i can do the work with it. How ever when i clicked to second button i lose this ID....
1
by: oaiok | last post by:
Problem in VisualBasic Express Edition 2008 Example: I have a project, project a, with two pages, page a and page b, i have a button on page a, and i when the button is clicked page b shall be...
1
by: anjanagol | last post by:
How to autoclick a button in one page while clicking a link on another page of php Help me tackle this problem........
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.