Can i put a hyper link in side a text box in html

I want to place an hyperlink inside a text box ( <input type = text ....)
so that when clicking on the text box hyper link is launched
how can i do this ?

Try this:
<input type="text" name="myfield" value="yor text" onClick="javascript:document.location='http://YouLink';">

Similar Messages

  • How can I put a music link in the page like this?

    How can I put a music link in the page like this?
    http://members.aol.com/trumanj/midi/tjsragtime.htm
    Thanks

    Hola JB
    No, I haven't...I'm trying to learn flash and it's been keeping me very busy...maybe it's the age..
    Len, I been trying to do it that way, but, as I just mention, Flash don't like me :)
    Thanks, I will do that for sure.
    Daniel Ulysses

  • This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left.

    This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left of each drop down.

    See McAfee support to find out how to disable that McAfee feature - that isn't part of the normal Firefox installation.

  • How can I click on a button and make a text box appear or disappear

    How can I click on a button and make a text box appear or disappear?
    Thanks ahead of time for your help,
    Doug

    Hi Denes,
    I just thought that the example you pointed the OP to, is far more complex than what I understood he needs. The OP was talking about using a button, which I thought was a very basic and simple case. Your example is much more complicated. If memory serves, the radio group item, at the time (prior to 3.1 fieldset) behaved differently, so you needed to create a new value retrieving function, and then was the need to preserve the items show/hide status upon reloading the page. In short, I thought maybe I didn’t see the complexity in the OP post, but it seems that his requirement was indeed a simple one.
    Regards,
    Arie.

  • Can any share me the procedure to create a text box in screen painter?

    Hi Friends,
                    Can anyone share me the procedure to create a text box in screen painter and browser for attaching files ....please its urgent....
    Points will be definetly rewarded.
    Thanks

    Refer to
    How to create a text box in ascreen painter?
    where another user (venkateshwar reddy) has asked a very similar question... is this an exam question?
    Jonathan

  • How can I fill in a default inputText in a Text Box

    How can I fill in a default inputText in a Text Box. Is it possible to create a button and then it should be possible some underlying data fill in the text boxes???
    Please help!

    My coding looks at the moment like that:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ page language="java" %>
    <html>
    <head>
    <title>
    JSF
    </title>
    </head>
    <body>
    <f:view>
    <h:form id="user">
    JSF Application View:<br><br><br>
    Credit Limit:.......
    <h:inputText value="#{User.username}"/><br>
    Currency:...........
    <h:inputText value="#{User.username}"/><br>
    Score:..............
    <h:inputText value="#{User.username}"/><br>
    Valid Date To:......
    <h:inputText value="#{User.username}"/><br><br>
    <h:commandButton value="Receive Data from Background" action="success" /><br>
    </h:form>
    </f:view>
    </body>
    </html>
    Now my question is how it is possible to fill in the inputTextvalue when I click on the Button "Receive Data from Background" Is it possible to define that in that coding above????
    Please help I'm not fit in JSF

  • How can I put the image fixed on the bottom-left of the HTML page

    I can't put the image at the left-bottom of my div id="content". I have "textcontent" (float:left) and "sidebar" (float:right) inside the content. I am attaching my code here for your review. Please help!
    HTML:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Interior and Exterior</title>
    <link href="main.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    </head>
    <body onload="MM_preloadImages('images/rollover_home.jpg','images/menu_home_over.png','images/m enu_paint_over.png','images/menu_contractor_over.png')">
    <div id="container">
      <div id="header">
      <div id="contactinfo">contact us for free estimates  250-878-1786</div>
    <div id="logo"><a href="index.html"><img src="images/logo.png" width="276" height="53" /></a></div>
    <div id="topmenu">
    <ul>
    <li><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/menu_home_over.png',1)"><img src="images/menu_home.png" name="home" width="119" height="54" border="0" id="home" /></a></li>
    <li><img src="images/menu_interior_over.png" width="177" height="54" /></li>
    <li><a href="paint_design.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('paint','','images/menu_paint_over.png',1)"><img src="images/menu_paint.png" name="paint" width="172" height="54" border="0" id="paint" /></a></li>
    <li><a href="contractor_trades.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contractor','','images/menu_contractor_over.png',1)"><img src="images/menu_contractor.png" name="contractor" width="166" height="54" border="0" id="contractor" /></a></li>
    </ul>
    </div>
      </div>
    <div id="content"><h1><img src="images/page_name_interior.png" width="286" height="27" /></h1>
    <div id="textcontent">
    <h2>Interior Services:</h2>
    <p> </p>
    <h3>Painting and staining:</h3>
    <table width="300" border="0">
      <tr>
        <td width="100">doors</td>
        <td width="100">walls</td>
        <td width="100">ceilings</td>
      </tr>
      <tr>
        <td>baseboards</td>
        <td>trim</td>
        <td>cabinets</td>
      </tr>
      <tr>
        <td>banisters</td>
        <td>rails</td>
        <td></td>
      </tr>
    </table>
    <p> </p>
    <h3>Fill and seal:</h3>
    <table width="300" border="0">
      <tr>
        <td width="100">cracks</td>
        <td width="100">baseboards</td>
        <td width="100">trim</td>
      </tr>
      <tr>
        <td>holes</td>
        <td>drywall repair</td>
        <td>cabinets</td>
      </tr>
    </table>
    <p> </p>
    <h3>Wallpaper and boarder removal</h3>
    <br />
    <p>No interior job is complete unless all the holes, nicks and gaps are filled and sealed.  I guarentee you'll be happy with the quality of our workmanship.</p>
    <p> </p>
    <h2>Exterior Services:</h2>
    <p> </p>
    <h3>Painting and staining:</h3>
    <table width="400" border="0">
      <tr>
        <td width="100">trim</td>
        <td width="100">posts</td>
        <td width="100">beams</td>
        <td width="100">hardiboard</td>
      </tr>
      <tr>
        <td>smartboard</td>
        <td>gables</td>
        <td>facia</td>
        <td>shakes</td>
      </tr>
      <tr>
        <td>shadowboard</td>
        <td>belly-board</td>
        <td>stucco</td>
      </tr>
    </table>
    <p> </p>
    <h3>Decks and rails:</h3>
    <table width="150" border="0">
      <tr>
        <td width="144">staining and painting</td>
    </tr>
    </table>
    <p> </p>
    <h3>Power washing:</h3>
    <table width="180" border="0">
      <tr>
        <td width="174">houses, fences and decks</td>
    </tr>
    </table>
    <p> </p>
    <p> </p>
    <h3>All nail holes are filled and all joints filled and sealed on all exterior painting projects.</h3>
    <p> </p>
    <h3>Stucco homes can be repainted quickly and inexpensively!</h3>
    </div>
    <div id="sidebar">
      <img src="images/interior_house.png" width="514" height="329" /><br />
      <a href="testimonial.html"><img style="padding-left: 40px; padding-top: 30px" src="images/interior_testimony.png" width="362" height="289" /></a></div>
    <p><img src="images/exterior_specialists.png" width="322" height="56" /></p>
      </div>
    <div id="footer"><img src="images/interior_footer.png" width="962" height="50" /></div>
    </div>
    </body>
    </html>

    Working with CSS Backgrounds:
    http://www.w3schools.com/css/css_background.asp
    #content {
         background-image:url('some-img.png');
         background-repeat: no-repeat;
         background-position: left bottom;
         min-height: 500px; /**same as image height**/
         overflow:hidden; /**float containment**/
    HTML
    <div id="content">
    the rest of page content goes here>>>
    </div>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • I had set my passcode by pressing 1 repeatedly till it filled the passcode box. I dont know how many times I have pressed 1. Can someone tell me the character length of the text box of the Passcode

    Hi,
    My son foolishly pressed a single digit till it just filled the text box of the passcode. Now i dont know how many times he has pressed it. If I can know the charcter length, or how many digits can just fill the text box of passcode, I can unlock my ipad2. If anyone reading this has ipad2, he can do the same thing and count how many digits will just fill the text box. I will really appreciate the help.
    Thanks

    You can put the iPad into Recovery mode and Restore it. See this link and note the sentence commencing, 'If you restore from a different computer.... ' down near the bottom of the page.
    http://support.apple.com/kb/HT1808

  • How can I add an image to my pop up text box built in Fireworks?

    Hello all,
    I have already built my page (a map) with all the pop up text boxes in Fireworks and imported them into my Dreamweaver page, but I would like to add an image in that same pop up box as well as the text. I tried going back to Fireworks and editing the pop up box, but there is no option for adding an image alongside the text. Is there a way I can go into the code and add the image? This is a line of code for one of the pop up boxes:
    <td rowspan="4"><a href="javascript:;" onmouseout="MM_swapImgRestore();MM_menuStartTimeout(0)" onmouseover="MM_menuShowMenu('MMMenuContainer1016121037_0', 'MMMenu1016121037_0',25,23,'Plaza_map_r11_c6');MM_swapImage('Plaza_map_r11_c6','','Plaza_ map_r11_c6_f2.jpg',1);"><img name="Plaza_map_r11_c6" src="Plaza_map_r11_c6.jpg" width="30" height="28" border="0" id="Plaza_map_r11_c6" alt="" /></a></td>
    I'm trying to avoid rebuilding the whole thing in another program! Thanks very much in advance.
    Pam

    If you have more than one of these, then I would add a class rule to your css style sheet
    .fltleft     {
         float:left;
    }.fltright     {
         float:right;
    Then add this rule to your image.
    <img name="Plaza_map_r11_c6" src="Plaza_map_r11_c6.jpg" class="fltleft" width="30" height="28" border="0" id="Plaza_map_r11_c6" alt="" (add new image here) ?>
    This will position your image to the left in the container. You can then add the fltright in the same way.
    GAry

  • BUG : Can't change properties (font, size, etc.) in Text Box (Acrobat Pro Extend 9.3.4)

    Here is a bug in Acrobat 9. It's really frustrating :
    1- Open any PDF file.
    2- Select the Text Box tool and type something.
    3- Notice that you can change the font using the Properties toolbar (CTRL + E).
    4- Open a second PDF file.
    5- Select the Text Box tool and type something in this document.
    6- Notice that you can change the font using the Properties toolbar (CTRL + E) also.
    7- Switch back to the first opened PDF file.
    8. Try using the Properties toolbar.
    YOU CAN'T BECAUSE THE TOOLBAR IS DISABLED!
    There is nothing you can do to make it enabled again.
    This bug seems to be present since Acrobat 8 and the Acrobat Developper Team did not fix it yet. I am a programmer and I know that you need only 5 minutes to fix this bug. WHY IT HAS NOT BEEN FIXED YET???
    It's horrible to deal with this bug...
    I hope Acrobat Developper Team heard me and will fix this ASAP.
    Thank you.

    We have had tons of discussions about this problem.  I would love it if Adobe would fix this problem.  In the meantime, one thing we are testing in our environment, and we think it is successful, is to set Preferences to "never view in PDF/A mode'.  Maybe that can help you.

  • How can I add a twitter link to my mobile me website and how can I put up a link to my blog

    How can I add twitter to my website I tried following the instructions from twitter I could post a line of text which worked as a link but I could not get the twitter bird logo to appear.
    Also how can I find the address of my blog page. How can I set up  alink to my blog page.
    Thank you
    I am running snow leopard on a macbook 10.6.8

    Thank you. I could not find a way to reply to you I did not see the reply button. So I thought I had to just post it again.
    I only want to put up a twitter button on to my webpage. I have already put up the text from twitter on to my website and this link works [ I think}  but not the graphic of the button. I want to do the follow buttton which was not listed on the address above.
    I tried the address for my blog you suggested and it did not work.Will this address be on my website somewhere.
    Still confussed.

  • How can I put all of my added icons and text in a white background the same as the provided toolbar icons?

    I just purchased a new computer and am trying Firefox 4 and absolutely hate this program. I have loved Firefox prior to this but this is nuts and waaaay too time consuming to figure out. Get rid of this version please. How can I restore 3.5????

    You can render the ebook on an instructional application called Zankura. Not only can you control the screen scrolling, but all the students can freely annotate with their stylus. www.zankura.com.

  • How can I load a .TXT file into a dynamic text box?

    I am sure that many people know how to load a .txt file into
    a dynamic text box. But I do not. I want to be able to reference a
    txt file from the server into the text box. So that when I change
    the text file it changes in the flash movie without even editing
    the flash file itself. Thank you.

    http://www.oman3d.com/tutorials/flash/loading_external_text_bc/
    I think this is the simplest way to go :)

  • Can I Print hyper links in my e-mails?

    HP e-Print is great if i receive an e-mail with an attachment that i want to print.. but what if the sender simply puts a hyper link (to the content under discussion) in the body of the e-mail.  It would be great if in setting up my account i could select... "Print hyper links", of if i could get print hyperlinks if i made the message of high importance....
    This question was solved.
    View Solution.

    This is a great suggestion - thanks for posting it.  As you mention, this isn't how the ePrint service works today but it's a great recommendation for a feature improvement.    THANKS!  Happy ePrinting!!!
    Although I am an HP employee, I am speaking for myself and not for HP

  • Can't use image as link using asfunction for some reason

    I have a pretty large which was coded using AS2 in about 2006 so I'm trying to make a few changes using AS2 which I'm pretty rusty on.  I have a swf which loads an xml file into a textarea in flash and it all works well.  I have to link some images which appear in the xml file but those images have to be links to external sites and that is where I am running into problems with my asfunction.  Here is the code.
    Function in my AS:
    function launchSite(arg) {
      if(arg == "agri") {
        getURL("http://www.usda.gov/wps/portal/usdahome", "_blank");
    then of course arg will take different values for the other links:
    In the xml file, here is the asfunction code:
    <a href='asfunction:_root.launchSite,agri'><img src="images/agri.gif"></a>
    What is happening is the function is working and the external link is opening in a new browser window, but the xml stops at that point so most of the agri.gif image and the rest of the page are gone.  If I change the img tag to just a text link, then all is well .. but my client wants the images to be the link.
    To further complicate, if I remove the link text and have only the img tag, the page is fine.  They just won't work together for some reason.  Any thoughts?
    Thanks!
    Nancy

    >the cdata tag is needed so you can load the xml that contains html tags.
    Interesting since my xml files are full of html tags and everything else renders just fine without CDATA tags.  My textarea is configured to allow HTML.
    AS as follows:
    //set up the textarea
    //init TextArea component
    myText.html = true;
    myText.wordWrap = true;
    myText.multiline = true;
    myText.label.condenseWhite=true;
    //set up the XML
    myXML = new XML();
    myXML.ignoreWhite = true;
    myXML.load("xml/acts.xml");
    myXML.onLoad = function(success)
    var myArray:Array = myXML.firstChild.childNodes;
    myTitle.text = myXML.firstChild.attributes.title
    myLoader.contentPath = myXML.firstChild.nextSibling.attributes.src
    myText.text = myXML.firstChild.nextSibling.nextSibling
    function loadFunction(target){
    myXML.load(target);
    myXML.onLoad = function(success)
    var myArray:Array = myXML.firstChild.childNodes;
    myTitle.text = myXML.firstChild.attributes.title
    myLoader.contentPath = myXML.firstChild.nextSibling.attributes.src
    myText.text = myXML.firstChild.nextSibling.nextSibling
    //function to load the external XML
    function launchSite(arg) {
      if(arg == "agri") {
        getURL("http://www.usda.gov/wps/portal/usdahome", "_blank");
    pertinent part of the xml as follows (portion of the text node which displays all the text):
    <a href='asfunction:_root.launchSite,agri'><![CDATA[<img src="images/agriculture.gif">]]></a> Department of Agriculture:  The Department of Agriculture began in 1862.  The main job of this department is to keep our food is safe and healthy.  They also work with farmers if they need help selling their crops both in the US and around the world.  Secretary of Agriculture is Mr. Thomas J. Vilsack.
    I added the CDATA tags at your suggestion.  What that gives me in the browser is a working function (loads the external site in a new window as desired) but instead of the image, I have the img tag printed out due to the CDATA tags (which by definition is not parsed).
    I have had pages on pages like this in this site since 2006 (which is why it's done in AS2 and not 3) and have never had a problem until the client wanted the images to be links to the external sites.  If I put in the image tag without the link, it works.  If I put in the link tag with a text link rather than the image, it works.  It's the two together that do not work.
    Does that make sense?
    Thanks again!
    Nancy
      after that you need to parse the xml correctly and assign to your textarea.  are you?

Maybe you are looking for

  • HTTP Error 400 on Tomcat 5.0.28 and JAAS

    Hi I have this problem every time I send an Authentication Request using JAAS. I've a login form and, after I send my request, LoginModule starts to process it. The problem is that, viewing the tomcat log output, the authentication goes well, but Tom

  • IN clause in DB Adapter  - Problem in retrieving results

    Query builder in the Oracle Database Adapter doesn't give an option to include IN clause in the SQL. If I include that in the SQL directly say like the following SELECT XREF_CODE, SOURCE_VALUE, TARGET_VALUE FROM XREF_LOOKUP WHERE (XREF_CODE IN ( #XRE

  • Range option in FM

    Hello All, I am creating a function module with  6 input fields  likes sales quotation number(vbelen), date(pedat) ,purchse requistion number(banfn) and 3 more fields.user can enter any value in the range for any of these 6 fields .based on the input

  • Ipad 1, 3g is totally dead

    Ipad 1, 3g is totally dead; could not turn it on at any way... and my Apple care was expired. What should I do now? Already checked to an authourized re-seller, it is said that due to apple care expired; they could not change another ipad for me....a

  • Warning message :Assignment of appointment rules to rule ID incorrect

    Hi , In solution manager service desk : I am getting a warning message Assignment of appointment rules to rule ID incorrect when trying to edit the calling hours by pressing the Calling hour s Button in Control Tab. I have checked with some of the ot