如何将值传递给thickbox [英] how to pass value to thickbox

查看:72
本文介绍了如何将值传递给thickbox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在主页上有电子邮件ID文本框和按钮。当我点击按钮时,表格将在厚盒子中打开,其中包含另一个电子邮件文本框。



如果最终用户在主页中输入电子邮件ID并单击按钮然后thickbox电子邮件字段将通过最终用户输入的电子邮件进行弹出。



如何将值从主页传递到thickbox控件。



打开thickbox时页面的URL相同。



谢谢

解决方案

< blockquote>由我自己解决。



在厚箱页面上添加此内容。



 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆