English 中文(简体)
页: 1 Query appenden not Plusetadata in
原标题:jQuery append not adding Metadata in Firefox

这个问题是具体的。 该公司在Morook和(I)其他浏览器上进行笔记。

Problem: Please check this Link. When you click on the Download button, a pop-up option form appears. When you fill it up and hit Submit, the text in the pop up changes, and the download begins (in other browsers), but in Firefox the download doesn t begin.

我在酒吧使用这一守则,使下载开始:

$( .downloadMeta ).append("<meta http-equiv= refresh  content= 1;url=http://linktofile.url  />"); 

我甚至试图这样做,但是在欧罗纳也没有工作,在其他行凶者中工作得当:

$(document.head).append("<meta http-equiv= refresh  content= 1;url=http://linktofile.url  />");$
问题回答

为什么在第二次推迟之后,不要仅仅将<代码>window. place.href设定至URL? 这应当更好地在浏览器中工作。

e.g.

setTimeout(function() {
    window.location.href =  http://linktofile.url ;
}, 1000);




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

jQuery block moving

I wanna move a div block to the top, so I coded like this: CSS part: .movingPart{ margin-top:80px; } jQuery part: $(document).ready(function() { $( #btn ).click(function() { $( .movingPart )....

Private FireFox plugin

I m looking at getting a FireFox plugin developed - but is it possible to create a plugin that is for private use only, so only those I share it with have it and not open to the masses? Need this for ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Cross-browser development

I m developing a web application for a new service, starting from Firefox 3.5. The interface design is tableless, only using divs + CSS & performance-blessed practices. Now, while being ...

Cross browser way of setting IFrame to "about:blank"?

Does anybody know a proper, cross-browser way to "empty" an IFrame? Is "about:blank" recognized without error across all browsers? Is it valid to give an IFrame an empty src?

热门标签