471,872 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,872 software developers and data experts.

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....blank 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)


Mar 28 '07 #1
1 1088
16,027 Expert Mod 8TB
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.
Mar 29 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Andy R. | last post: by
9 posts views Thread by Penn Markham | last post: by
reply views Thread by Mircea Pleteriu | last post: by
4 posts views Thread by Don Grover | last post: by
84 posts views Thread by Patient Guy | last post: by
4 posts views Thread by raghuvendra | last post: by
6 posts views Thread by joeferns79 | last post: by
reply views Thread by NeoPa | last post: by
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.