![]() įor that, first of all we need to get the data inside textarea by javascript. My aim is to transfer message from the textarea to the iframe. So, first of all, we will create a page where I am placing a textarea and an iframe. Cross-origin communication is also possible. And guess what, for this communication, it's not required to both websites have to be under same domain. ![]() Instead I will demonstrate a simple application, where the parent website and the website inside the iframe can talk to each-other without any problem. That was a complex application, but let's not get into that. It is important for so many aspects, like the chat application we were building for Trilyo, a bot-messaging app, most of the things are handled inside multiple iframes. 'iframe' is very popular html tag which enables you to keep another webpage inside a webpage. First of all, let's know about the iframe. Button btn new Button() btn.Content Test (btn) Share with. ![]() This FAQ explains the topic ' How do I embed a Button into a TextBox '. Yes, it's not any hack or something, but with simple functions you can communicate in between iframe and it's parent website. This FAQ explains the topic ' How do I embed a Button into a TextBox '. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |