Printing between tags

Results 1 to 2 of 2

Thread: Printing between tags

  1. #1
    Join Date
    Dec 1969

    Default Printing between tags

    Hi, <BR>I have a simple question, what code do i use to make asp print something between specified tags? For example, i have tags &#060;CD&#062;anything&#060;/CD&#062; and i want to print the "anything" instead of the whole &#060;CD&#062;anything&#060;/CD&#062; . What would be the best way to go about this? Is there a tutorial or an example on the net i can look at? <BR><BR>Thanks. <BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Printing between tags

    Maybe you can try parsing the string &#060;TD&#062;anything&#060;/TD&#062;<BR>Replace anything between"&#060;" and "&#062;" with spaces<BR>and make this your new string and trim it to get rid of the spaces ,write it to a window using javascript and do window.print();<BR>Hope this helps

Posting Permissions

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