Advanced Search

Results 1 to 2 of 2

Thread: another basic varible question

  1. #1
    Join Date
    Mar 2006
    Location
    Nashville, TN
    Posts
    600
    Thanks
    5
    Thanked 4 Times in 4 Posts

    Default another basic varible question

    how would i put all this into a varible?

    Code:
    <script language= "JavaScript">
    document.write(location.href);
    </script>
    please help.

  2. #2
    Join Date
    Jan 2007
    Location
    Surrey, UK
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Code:
    $myvariable = '<script language= "JavaScript">document.write(location.href);</script>';
    or did I misunderstand the question?

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
  •