Good morning
Is it possible to control the same html page at two different points using FRAME? I have a form and would like to know if I can input information in it at two different points.
Good morning
Is it possible to control the same html page at two different points using FRAME? I have a form and would like to know if I can input information in it at two different points.
I was thinking about the functionality of this and good, let's try to answer ..
First let's define some things, which I see are not very clear, considering the type of question.
What is HTML?
HTML is a markup language, and basically serves to mark elements to tell the browser what it should display. In case html works and is understood by your browser. And it by itself does not "talk" with a server or with another browser or machine. They are static pages.
What is FRAME?
Frames are the inner divisions within the same browser window, that is, you have a common page, which has divisions where N
pages are loaded. Generally for your use you have a mother page, which calls the daughters.
Most common frames example:
Sotheframeisonlyhtml
,ifthetwodifferentpointsyourefertoaresimplythedivisions,youcaneven"input information" from one division to another. But not with html
, but using js
.
Now if you are talking about two points being type mine and your pc
, and what I change here change for example, it is even possible to do as well. But again, not only with html
, to do something like this, think more or less about the logic or format of a chat. Where I type here and it appears to you in " real time ".
In this case, both you and me have html
of the chat ready on the screen, but the chat needs to access something that is common for both, which can turn out to be a database or simply a .txt
that contains the messages. But they need to check for changes, perhaps by ajax
, and if it finds them, it gets and changes the message field.
Following more or less this logic, in the case of form
, autocomplete of two pcs
different, it is possible. But you need a place, file, or database in order to share the information. And your application needs to " listen " this file, ie check if there is a change in the same done by some other point ( pc
), if it exists, load on my screen.
This would be a basic form, but if it were a form, it would need something more elaborate so that two people do not change the same field at the same time. So this "control" of the same page from two different points is possible from a certain point, but I do not know if a good way to work. It depends a lot on what you want with it.
I hope I have been able to help in any way, any questions please.
Att;
Sources: