SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Cachebuster

  1. #1
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Cachebuster

    Can anybody help me with a Java script that will replace the [CACHEBUSTER] below with a random number in a html page?

    http://adfarm.mediaplex.com/ad/bn/0-0-0-0?mpt=[CACHEBUSTER]


  2. #2
    SitePoint Evangelist
    Join Date
    Jun 2007
    Location
    North Yorkshire, UK
    Posts
    483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try

    Code JavaScript:
    var cachebuster = new Date().getTime()


Bookmarks

Posting Permissions

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