Access javascript through url

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nuttynibbles
    New Member
    • Sep 2007
    • 7

    #1

    Access javascript through url

    hi, how can i access a javascript function from a webpage through the url?
  • nuttynibbles
    New Member
    • Sep 2007
    • 7

    #2
    hello, is there anyone who have done this b4??

    Comment

    • gits
      Recognized Expert Moderator Expert
      • May 2007
      • 5390

      #3
      hi ...

      could you explain that in more detail ... what do you want to achieve? is it your own page or from another domain?

      kind regards

      Comment

      • nuttynibbles
        New Member
        • Sep 2007
        • 7

        #4
        hi, is from another domain. e.g: http://domain.com has a javascript function call makealert(); so how do i access this function from the url instead. i understand you can key in javascript:make alert().. but if we access the page for the first time, how can i input it into the url n run the script?

        Comment

        • gits
          Recognized Expert Moderator Expert
          • May 2007
          • 5390

          #5
          simple answer: you can't ... since the page has to be loaded first so that the javascript is evaled in it and after that it is ready to use ...

          Comment

          • nuttynibbles
            New Member
            • Sep 2007
            • 7

            #6
            so is there a way to load the url first then the javascript? all done in the url query? or any other method?

            Comment

            Working...