http « Development « Javascript HTML CSS Q&A

Home
Javascript HTML CSS Q&A
1.animation
2.audio
3.background
4.browser
5.button
6.canvas
7.checkbox
8.Cookie
9.Development
10.DIV
11.dom
12.dropdown
13.editor
14.element
15.Event
16.Firefox
17.flash
18.font
19.Form
20.frame
21.hide
22.hyperlink
23.IE
24.iframe
25.image
26.innerHTML
27.json
28.layout
29.Library
30.localStorage
31.Menu
32.mobile
33.onclick
34.popup
35.Render
36.scroll
37.scrollbar
38.svg
39.tab
40.table
41.tag
42.text
43.TextArea
44.TextBox
45.validation
46.video
47.window
48.xml
Javascript HTML CSS Q&A » Development » http 

1. How can I make the browser see CSS and Javascript changes?    stackoverflow.com

CSS and Javascript files don't change very often, so I want them to be cached by the web browser. But I also want the web browser to see changes made to ...

2. how do you set a max-age for javascript/css?    stackoverflow.com

I just ran Pagetest and it says I need to set a max-age for my JS/CSS. How do I do that?

3. Why isn't my javascript & css caching?    stackoverflow.com

It's appears ONLY javascript and css are not caching ... but images are caching. I am using Firebug and when I refresh the page, I notice in Firebug a lot of 200 ...

4. How may I disable an http-equiv refresh in JavaScript?    stackoverflow.com

I'm building a status page which should be refreshed periodically. So, I've had a http-equiv refresh in the <head> section in order to refresh the page every minute :

<meta http-equiv="Refresh" id="refresh" content="60"/>
But, ...

5. Benefit of compressing javascript/css files when using IIS httpCompression    stackoverflow.com

It looks like IIS httpCompression compresses your files. If this compression is in place, what is the reason to compress files using compression tools like: Packer, JSMin or Yahoo ...

6. Max parallel http connections in a browser?    stackoverflow.com

I am creating some suspended connections to an http server (comet, reverse ajax, etc). It works ok, but I see the browser only allows two suspended connections to a given domain ...

7. Dynamically load insecure content to avoid dialog    stackoverflow.com

I'm working on an app that will be using https, but we wanted to be able to use the google search api. They do not have an https version available, so ...

8. If an externally included file (e.g. JavaScript or CSS) is included twice (or more) on a page will there be two (or more) web requests?    stackoverflow.com

Let's say because of a conditional comment or just being careless the same included file is present for users of some browser or even all browsers. For example:

<!--[if lte IE 8]>
 ...

9. HTML Page Caching Question    stackoverflow.com

I understand the basics of HTML page caching. My uncertainty relates to how caching works on images, included external scripts, and included CSS stylesheets that the HTML page uses. For example, let's say ...

10. Does Vignette CMS serve HTML, CSS and JavaScript content gzipped?    stackoverflow.com

I’m working on a project involving Vignette as the CMS. Does anyone know if it serves HTML, CSS and JavaScript content gzipped? (If anyone’s got an example of a site ...

11. POST with links without JavaScript    stackoverflow.com

Let's say I have a calendar on my page and clicking on a day would mark that day as complete. But I want to use POST and not GET, since GET is ...

12. Using IE conditional comments to include CSS or JavaScript files results in more http requests    stackoverflow.com

A web designer has created pages for us with IE-specific comments. Consequently, certain stylesheets are only included if the user is using a specific version of IE:

<!--[if lt IE 7]>
<link type="text/css" ...

13. http proxy javascript injection    stackoverflow.com

I have a simple proxy source in C++. I'm trying to modify it to inject some html content into specific pages. I'v managed to get it working but whenever I inject ...

14. How do I force download with html/javascript?    stackoverflow.com

I have a link and if a user clicks it I need 2 things to happen: A proper HTTP response is sent to the user (especially with Content-Type: video/mp4) and a ...

15. Change save to file name but from the client    stackoverflow.com

This question asks about file name the servers sends and the fix was quite simply a content-disposition header in the http response. What I interested in is does anyone know of ...

16. Automatically POST on document creation    stackoverflow.com

In an HTML-document, i want to have a (if possible: invisible) form that POSTs the contents of one text input field to my server as soon as the document is created ...

17. 304 latency vs inlined javascript    stackoverflow.com

There seems to be a general conclusion floating around the internet that external js files are better. The main reasons are caching, maintenance, and debugability. However there does not seem to be much ...

18. Is there a way to merge get parameters? - HTML/Javascript    stackoverflow.com

often I find myself suprized about simple things, I'm not sure but I believe that this might be one of them. Often I find myself needing to merge get attributes, especially within ...

19. Cache javascript & css on user's browser and load new one when changes are made    stackoverflow.com

this question might be available online but sorry that I cant find a solution that I understand. Can someone pls help me? The situation is this, I would like users' browser to ...

20. get all the href attributes of a web site    stackoverflow.com

can anybody tell me a way to get all the href attributes(links) in a web site using javascript?if you could give me a code example, i will be most thankful.

21. Login to multiple sites from one site using javascript?    stackoverflow.com

Is it possible to let an user login to multiple websites from my website using javascript?

22. Caching: myscript-1125.js vs myscript.js?1125    stackoverflow.com

Does it make any difference where you put script version? Query param or path. Pro, cons?

23. Is it possible to set HTTP POST request body message via Javascript?    stackoverflow.com

I'm building REST web app and my server side Java code expects request body to have pure JSON string. My goal is to use regular HTTP POST method (not ajax) and ...

24. What is the difference between http:// and // in HTML/CSS development?    stackoverflow.com

I came across this recently whilst poking around the markup for Google's 404 page. In it, they use // at the start of their URLs, in anchors in the markup, as ...

25. The HTTP verb POST used to access path '/' is not allowed on HTML page    stackoverflow.com

So I have a link on my aspx page that Im trying to trigger a separate html using lightbox. whenever I click the link the lightbox works fine but the html ...

26. Detect when a user leaves a website    stackoverflow.com

I am trying to create my own website access library(for fun) like Googles Analysis(Analtiks?) where I can detect when a user access' my website, what pages they view etc. Is there a ...

27. What is a good catchall term for referring to web skills?    stackoverflow.com

What is a good term to refer to the common set of skills that are involved with web programming? Beyond more highly specialized skills like server side languages, how would you ...

28. How to get a maximum of parameters to determine a browser issue?    stackoverflow.com

I am working on a new website and I need to develop something to help user manage technical browsers issues. There are many parameters (8) I need to check and ...

29. enforce http with JavaScript    stackoverflow.com

I have a srcURL variable which gets a path of the form /myFolder/myFile.jpg Now this gets assigned to the img element..which obviously would call it with the complete path https://mySite.com/myFolder/myFile.jpg Now ...

30. What's better? More HTTP requests = less data transfered or Less HTTP requests = more data tranfered?    stackoverflow.com

Sites like Facebook use "lazy" loading of js. When you would have to take in consideration that I have one server, with big traffic. I'm interested - which one is better? When I ...

31. Considering only page speed, at what point is CSS or JS big enough to externalize    stackoverflow.com

Common advice is to keep your CSS and JS files external. The reason: What you lose in the additional HTTP request*, you often gain back by not having to download ...

32. Getting an ActiveX warning when I load a page via HTTP that has an HTTPS remote javascript included    stackoverflow.com

So basically I have a basic page that is loaded via http. Inside this application I want to include a remotely hosted JS file. Currently when I load the page I always ...

33. How to clear HTML content already sent to the browser, without JavaScript?    stackoverflow.com

Bugzilla, Mozilla's issue tracker, has a nice loading screen while the search is being executed. In the days of Ajax, this is nothing special. They do it without any scripting, though, ...

34. How does this work: http://welbog.homeip.net/    stackoverflow.com

How does this work?: http://welbog.homeip.net/ Just scroll down. It looks cool, it looks damn cool, and it works without javascript. What's that?

35. Alternative to referrer object    stackoverflow.com

Is there an alternative to referrer object to check where user came from? history.previous doesn't seem to work.

36. /dev/null for http requests    stackoverflow.com

I've found myself writing a number of mockups of websites that make a lot of AJAX calls. I'm really just fiddling with how the sites look and don't have a server ...

37. HTTP Referrer from JavaScript    stackoverflow.com

My web site has a dropdown control that allows the user to navigate to sub sections of my site. On the root page I want to retrieve the HTTP_REFERER variable ...

38. Http/ html import    codingforums.com

Hey guys so im kind of lost right now. I am trying to import html files directly from a website. How is the best way about doing this? I need to do this over and over again, at least every 2 seconds. My friend said there was a http/https send command or something? Anyone know? Thanks