Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    window open bookmarklet

    Hi,
    I want to open a new window and then execute some js function on that window. My code looks like this:
    Code:
    windowObjectReference = window.open("http://some_page.html","name");
    windowObjectReference = window.open("javascript:(some_function('param1');)","name");
    Is it possible to do activate bookmarklet thru js on new window?

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Flint, Michigan, USA
    Posts
    623
    Thanks
    1
    Thanked 20 Times in 20 Posts
    Yes, it can be done. I just tried it.


  •  

    Posting Permissions

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