interesting problem with JAVA.SCRIPT....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manas312
    New Member
    • Mar 2007
    • 5

    interesting problem with JAVA.SCRIPT....

    Hey guys....

    I'm facing an interesting problem ....and need some solution.....

    The problem goes like this.

    You r having one site like www.abc.com (for example). The website contains only one textbox....blan k textbox.
    Now I have a database of names of people. I hv control over database.
    I hv another site containing only one 'button'. (for ex. www.xyz.com)
    It acts as an interface site.(not exactly interface...but kinda)

    Now wat i want to do is :
    the moment i click on the button in my website...ur website(www.abc.com) will be opened in the browser automatically & the first entry in the database would be retrieved in ur website's ( www.abc.com) textbox....and this will happen only in my computer coz i'm accessing the website( www.xyz.com) thr' my comp and the website( www.abc.com) too is getting opened in my computer only.

    So this is server side programming but the effect takes place on the client side.
    Thus even u or ne client opens the site www.xyz.com. & clix on the button...then www.abc.com will get opened and the textbox will be filled with the first entry of the database.

    If u r getting the solution....plz mail me at **** (email deleted)

    Thanx....

    Regards
    Manas
    Last edited by acoder; Mar 29 '07, 07:56 AM. Reason: Email deleted
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Either use iframes or frames for this and then access the iframe/frame object and then write to the textbox.

    For accessing iframes, see link, for frames, see link.

    Comment

    Working...