Lintps Posted March 12, 2025 Posted March 12, 2025 Здравствуйте! Можете сказать, как послать сообщение из одной в другую форму. Я пытался и так UniSession.AddJS('ajaxRequest(MainForm.Form2, "MessageEvent", ["msg=from Form1!"]);'); и так UniSession.AddJS('ajaxRequest(UniApplication, "MessageEvent", ["msg=from Form1"]);'); Но ни как не срабатывает Quote
Sherzod Posted March 12, 2025 Posted March 12, 2025 1 hour ago, Lintps said: А через ajaxRequest не получится? UniSession.AddJS( 'if (typeof UniForm1 !== "undefined" && UniForm1.form) { ' + ' ajaxRequest(UniForm1.form, "test", ["msg=from Form2"]); ' + '}' ); 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.