SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Iframe problems

  1. #1
    SitePoint Addict
    Join Date
    Jun 2004
    Location
    germany
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Iframe problems

    Hello sir
    This is my problem

    1. I have developing an application in asp
    2. I have 2 pages say index.asp and search.asp
    3. Index.asp page is the main page and in that index.asp page i have added an iframe and within that iframe i have included the search.asp page
    4. i have a link in search.asp and using that link i am sending one value
    like href'index.asp?myvalue=value' (ie from search.asp i have to send this value to index.asp and make this index.asp form reload again)
    5. if i give the url as index.asp then that index.asp page is loading within the iframe.

    so this is my neeed

    1. when i click the link in search.asp within iframe , i need to load the main page
    index.asp

    thanks in advance

    with regards
    vimal

  2. #2
    SitePoint Guru
    Join Date
    Jun 2004
    Location
    Finland
    Posts
    703
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    put this to the iframe:

    parent.location.href = 'index.asp?myvalue=value';

  3. #3
    SitePoint Addict
    Join Date
    Jun 2004
    Location
    germany
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    It workks Thanks a lot

    Thank you very much mr Soruccu,

    it works.

    Thanks and regards
    vimal


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
  •