SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Wizard dethfire's Avatar
    Join Date
    Aug 2000
    Posts
    2,477
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    document.location

    or is it window.location?

    anyway, why doesn't this work?


    Any ideas why this doesn't work?

    <script language="javascript">

    function goclaims()
    {
    document.location.replace = "../webapplication2/webform1.aspx";
    }
    </script>

    <asp:ImageButton onlick="goclaims();" id="Image5" onmouseover="this.className='applyBorder'" onmouseout="this.className='removeBorder'" runat="server" Width="24px" Height="18px" ImageUrl="file:///C:\Documents and Settings\gregb\Desktop\icons\Claims.ico" CssClass="removeBorder"></asp:ImageButton>
    Free Science Homework Help
    http://www.physicsforums.com

  2. #2
    SitePoint Guru nagrom's Avatar
    Join Date
    Jul 2001
    Location
    Western CT, USA
    Posts
    803
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you want location.href

    <script language="javascript">

    function goclaims()
    {
    document.location.href = "../webapplication2/webform1.aspx";
    }
    </script>

  3. #3
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    HOLY SHMOKES!

    nagrom's alive!
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  4. #4
    SitePoint Guru nagrom's Avatar
    Join Date
    Jul 2001
    Location
    Western CT, USA
    Posts
    803
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    reports of my death were greatly exaggerated...

    heh, been super-busy. and no-one has any coldfusion problems over in the CF forum, damn easy-to-learn RAD tools...


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
  •