Click to See Complete Forum and Search --> : knowledge required


ultra_triangle
12-09-2003, 11:43 AM
I was wondering if there is a way to put text into another application through java script for example if I typed "The world is big" into a propt box could the information I typed be put into a chat room if I had the chat room in an open window?:confused:

I ask because I am testing the versatility of java script to see if you could create a great user interface that would be alot like an operating system. :)

little jim
12-09-2003, 11:49 AM
I don't think so, that could only be done if..

[list=a]
The chatroom was on the same system as your j'script
Your j'script sent it to the chatroom as a form value and the chatrooms execpted it.
[/list=a]

Though i think what you are trying to do is to fiddle with the content being viewed in other pages in live networks. I am quite shure that can't be done.

ultra_triangle
12-09-2003, 11:56 AM
fiddle??? nay! :D

solution (b) looks quite good how would you go about doing that? :confused:

little jim
12-09-2003, 12:19 PM
I am not totaly shure. I did a chatroom of my own, but it is very old.

You would have to the chatroom on your network, and the window it is in would have to have been created by the page you are prombting from. You would have to take in what they said in the prompt, and set it as a cookie. Then you would have to have the other page checking for cookies all the time, and when it found one it could do things with the text in it.