HTML-Data to ASP-variables

Results 1 to 2 of 2

Thread: HTML-Data to ASP-variables

  1. #1
    Bjorn Mes Guest

    Default HTML-Data to ASP-variables

    does anybody know if it is possible to rip a piece of data from a HTML-file and put it in a asp-script as a variable?

  2. #2
    Join Date
    Dec 1969
    Posts
    168

    Default RE: HTML-Data to ASP-variables

    Sure...<BR>&#060;%<BR>Dim Title,body<BR>Title = "&#060;title>My title&#060;/title>"<BR>body = "&#060;BODY bgcolor=""white"" text=""black"" link=""blue"" vlink=""purple"">"<BR><BR>response.write(title)<BR >response.write(body)<BR>&#037;&#062;<BR><BR>or <BR><BR>&#060;% Function FormatH1(heading)<BR><BR>response.write("&#060;h1 align=""center"">&#060;font color=""black"" face=""arial"">" & heading & "&#060;/font>&#060;/h1>")<BR><BR>End Function<BR>&#037;&#062;<BR>&#060;%=FortmatH1("My Page")&#037;&#062;<BR><BR>Hope this has been helpful... Cheers!

Posting Permissions

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