dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Assigning javascript functions to url subdomains

Hybrid View

  1. #1
    Join Date
    Aug 2011
    Posts
    1

    Assigning javascript functions to url subdomains

    Hi all. I am creating a website, and I have javascript function that will play a video playlist by passing it a playlist ID. I want to be able to share a url that points to my website and also calls a javascript function, like:

    http://www.yourdomain.com/p/myplaylist

    If someone clicks/enters that url, they redirect to my website and the getPlaylist(id) function is called. Is there a way I can do this?

  2. #2
    Join Date
    May 2011
    Posts
    194

    object a and object location

    Hi,

    A Element | a Object see http://msdn.microsoft.com/en-us/library/ms535173.aspx


    object location (f.e. location.search) see http://msdn.microsoft.com/en-us/library/ms535866.aspx

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles