English 中文(简体)
添加意思.com 负荷纽吨(能够动态地确定电子邮件变量)
原标题:addthis.com load button via ajax (to be able to set email variables dynamically)

i 试图通过亚x装载和开始添加物。

so far i am succeeding in loading the widget via ajax, but when i load it via ajax the button which i need the most is no longer part of the widget. this is very strange as i am using the exact same script to load both widgets.

需要的是电子邮件纽吨。 植被本身有2个电子邮件信 but:1个是电子邮件,1个是电子邮件,1个是接受通过电子邮件传递的变量(以及当通过亚x装载时没有显示的变量)。 您可以通过以下方式核实:点击植被(在+纽顿本身)和在搜索投入领域打字电子邮件,来核实电子邮件纽扣吨在后植被中有哪些部分。

i 设置了两条 j,以说明案件。 前者以标准方式装载植被(你可以在那里看到电子邮件纽芬兰语)。 第二批通过“ j子”装上了get子,你可以看到,只有“Apputton”在座。

1) regular: http://jsfiddle.net/FLAf4/

2) ajax: http://jsfiddle.net/6QUWt/5/

i 知道这增加了这个具体问题——试图将这个问题放在定制/q&上;这是其网站的一部分,迄今为止没有人对此发表意见。 感谢!

最佳回答

显然,你不能在添加本的文字上设定公证和同文,因此,你应当制定<条码>#async=1。 然后确定一个包含出版商的“全球变量”<代码>addthis_config,你还应有全球范围的<代码>addthis_comm变量,然后将电子邮件模板和电子邮件模板变量分配给纽特点击手里的全球变量。

http://jsfiddle.net/joeflateau/Bht2b/4/

问题回答

暂无回答




相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签