如何在使用thickbox时发送参数 [英] how to send parameters while using thickbox
问题描述
我正在制作一张图片,用页面中给出的不同方式/选项来处理它。
我的页面名称是购物车和它有一个上传的图像,具有缩略图视图。当我点击该缩略图时,它会在highfi技术厚箱中打开。在我的购物车中有超过1张图片,可以是购物车/手册,购物车中有不同的选项。
现在我想要的是我需要发送一些额外的值作为参数,以便我可以处理图像。
当然,我通过查询字符串使用a发送值。标签由thickbox建议。我在运行时获取该值时遇到问题,因为我无法创建格式化的查询字符串。
这是我的代码
Hi,
I am working on an image to process it with different ways/options given in the page.
My page name is cart and it has an uploaded image having thumbnail view. When i click on that thumbnail it opens in a highfi technology thickbox. In my cart there are more than 1 images which can be process/manuplate with different options given in the cart.
Now what i want is that i need to send some extra values as a parameters so that i can process the image.
Ofcourse i am sending values through query string using "a" tag as suggested by thickbox. i am having problems while picking up that values on run time as i am unable to make a formatted query string.
Here is my code
推荐答案
@nevantage
你必须首先通过javascript创建完整的href值。 (href值没有被javascript解析)
@neovantage
you have to create the complete href value through javascript in the first place. (the href value is not parsed by javascript)
我怎么能这样做(意味着我怎样才能完成href值),因为我没有那么多经验。请帮助我
And how can i do that (means how can i complete href value) as i am not as much experience in this. Kindly help me out please
这篇关于如何在使用thickbox时发送参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!