April 2017

The multiplication sign ( × ) was a bit too small for what I wanted and increasing the font size broke other things, so I found these larger alternatives:

Multiplication X (U+2715)

Decimal HTML entity: ✕
Hex HTML entity: ✕

Heavy Multiplication X (U+2716)

Decimal HTML entity: ✖
Hex HTML entity: ✖

Cross Mark (U+274C)

Decimal HTML entity: ❌
Hex HTML entity: ❌

Solution 1:

document.getElementById('some_frame_id').contentWindow.location.reload();

be careful, in Firefox, window.frames[] cannot be indexed by id, but by name or index.

Solution 2:

document.getElementById('iframeid').src = document.getElementById('iframeid').src;

It will reload the iframe, even across domains! Tested with IE7/8, Firefox and Chrome.

Solution 3:
If using jQuery, this seems to work:

$('#your_iframe').attr('src', $('#your_iframe').attr('src'));

MKRdezign

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget