User Profile

Collapse

Profile Sidebar

Collapse
BobC
BobC
Last Activity: Mar 28 '12, 03:39 PM
Joined: Mar 23 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I'm calling the dynamic content as a .txt file and insert it in a div, with a command like this:

    Code:
    liveData03.update('doc=docs/filename.txt');
    The txt file contains standard html and javascript; the cloaked email address. It looks like this:

    Code:
    <p>[I] some text  [/I]<script type='text/javascript'>var v2="DNZHGHBJ4J56WG43YI";var v7=unescape("+%3C%3E-5%3B%02%25F%23CS3%26%1AP6%24");var v5=v2.length;var
    ...
    See more | Go to post

    Leave a comment:


  • Calling content via Ajax, JavaScript in this page disappears on load

    I am using a piece of inline Javascript to cloak my e-mail address on a webpage, to prevent spam. The HTML text fragment including the script ( xxx.txt ) is loaded dynamically using an AJAX call and inserted into a DIV.

    However, when it is displayed the javascript has disappeared: instead of a clickable link similar to a simple mailto: link there is nothing.

    What makes the javascript snippet disappear and how can I...
    See more | Go to post
No activity results to display
Show More
Working...