The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> html/php problem, Need a code suggestion
UKDomains
post Sep 22 2009, 04:48 PM
Post #1





Group: Members
Posts: 1
Joined: 22-September 09
Member No.: 9,825



Hi all, I hope this is the correct place to post this (probably not). I needed some help with a bit of coding, not sure if it would be a html or a php script I need, so advice on that would be appreciated as well.

I need help with the following:

I'm building a page and on this page I need the following:

An input box for someone to type in a web address.

A row of buttons below it that will take the code of the buttons and add the web address added to the input box and then open a new browser tab (I know how to the code for this, just not how to add the webaddress)

Eg of what I want to do: Text box where you type in http://domain.com
Button one has the code to open a new tab to http://www.google.com/"DOMAIN.COM", button two wll open tab http://www.yahoo.com/search?"DOMAIN.COM"

Can this be done?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Sep 22 2009, 07:23 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Please see the FAQ entry Can I have two or more actions in the same form?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th April 2024 - 02:31 AM