English 中文(简体)
是否有必要撰写标题,html,在请求的网页上打头角。
原标题:Is it necessary to write title,html,head tag in ajax requested page

页: 1

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Welcome</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

</head>

<body>
Welcome
</body>
</html>

请允许我谈谈列入本页的极为必要的方面,以便我能够使我的法典简短。

最佳回答

请注意 如果您有html,那么,在你的答复中,当你在请求来自的那一页的任何内容(div)中附上答复时,就座标。 它自动被拆除。 你们可以通过把你刚装在tag子里的内容打上手法来检验这一设想。

因此,最好把必要的卷宗、文字放在你的上级网页上。

问题回答

如果使用相同的风格和文字,你只能把尸体转起来,代之以麻醉电话。

Normally you don t need any Headerfiles if you just fetch some data. Get a look on this Link: http://www.w3schools.com/ajax/ajax_xmlhttprequest_response.asp So you just response with "pure text" and format is with you script after it. I always prefer this way, because the you keep the traffic as short as possible.

参看Html, 标题, 字面......,页面上是“jax”号。 就你而言,“Welcome”只是你从“jax”呼吁中需要的内容。





相关问题
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.