如何将值传递给thickbox

编程入门 行业动态 更新时间:2024-10-27 04:25:19
本文介绍了如何将值传递给thickbox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在主页上有电子邮件ID文本框和按钮。当我点击按钮时,表格将在厚盒子中打开,其中包含另一个电子邮件文本框。 如果最终用户在主页中输入电子邮件ID并单击按钮然后thickbox电子邮件字段将通过最终用户输入的电子邮件进行弹出。 如何将值从主页传递到thickbox控件。 打开thickbox时页面的URL相同。 谢谢

解决方案

由我自己解决。 在厚箱页面上添加此内容。

var val = parent.document.getElementById('txtEmail')。value;

谢谢。

On home page there is email id textbox and button. when i click on button a form will be opened in thick box which contain another email textbox. If end user enter an email id in home page and click on button then thickbox email field will be popuplated with email entered by end user. How do i pass value from home page to thickbox control. URL of the page is same when thickbox is opened. Thanks

解决方案

Solved by myself. Added this on thickbox page.

var val = parent.document.getElementById('txtEmail').value;

Thanks.

更多推荐

如何将值传递给thickbox

本文发布于:2023-07-22 13:38:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1187985.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何将   thickbox

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!