✭☭2018-05-13 11:21:39
JavaScript
✭☭, 2018-05-13 11:21:39

Why is the document not loading in a new tab in mobile browsers?

var html = 'тут html-документ'
var вкладка = window.open("about:blank")
вкладка.onload = function()
{    
      вкладка.document.write(html)
}

Works on desktop browsers, but blank on mobile.
The action is triggered when the user clicks the button.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
1
1001001 111, 2014-06-17
@battrack

$a = json_decode('{"result":{"message_id":18846400}}');
echo $a->result->message_id;

J
jamesmalvi, 2015-04-03
@jamesmalvi

One of the best tools for JSON is codebeautify.org/jsonviewer JSON formatter, JSON validator, JSON minify, JSON to XML, JSON to CSV

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question