dynamically changing the href=mailto <%email%

Results 1 to 2 of 2

Thread: dynamically changing the href=mailto <%email%

  1. #1
    ejbilbrey@usa.net Guest

    Default dynamically changing the href=mailto <%email%

    Is there a way to accomplish the following:<BR>&#060;td&#062;&#060;a href = "mailto:" + &#060;%=RecSet.Fields("Email_addr").value%&#062 ; &#062; background = "images/bg.gif" &#060;/a&#062;&#060;/td&#062;<BR><BR>This obviously doesen&#039t work. I have a page that publishes the results of a sql query and I want to show a graphic symbol at the end of a row that when clicked on will open the email with the "TO" line filled in the email address found in the record. <BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    572

    Default RE: dynamically changing the href=mailto <%em

    Remember, you are using HTML here, so don&#039t use VB syntactic!<BR><BR>&#060;a href = "mailto:&#060;%=RecSet.Fields("Email_addr").value% &#062;"&#062; -this is going to work.<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •