-2
votes
0answers
28 views

Capturing client request headers (complete) along with IP address information? [on hold]

I want to write client request to a file with two things/information headers ip address The code I'm testing on free hosting service.Code is <? $headers= apache_request_headers(); foreach ...
-4
votes
0answers
74 views

Ajax File Upload Progress bar [on hold]

I have jqurey for Single file upload code with showing percentage, It's code is I'm recoding the for multiple file upload in the one time. But isn't upload the files. please help for resold the ...
0
votes
0answers
4 views

What is wrong with my jQuery code? [migrated]

I want to toggle a div from left to right when someone clicks on the h1 which is floating on right every thing is working just fine but I can't toggle it. Once the div appears it never goes away. ...
0
votes
2answers
64 views

Intermittent flickering on mouse move [closed]

We have an internal website that is written in javascript and jquery and is only used in with ie8. Everything is fine but after a certain time, screen flickering starts to occur when the mouse ...
21
votes
5answers
2k views

Tight Coupling Between Javascript, HTML, and CSS: A More Modern Approach?

It's very common to see Javascript bound to certain selectors to find elements, store data, and listen for events. It's also common to see these same selectors used for styling. jQuery (and its ...
0
votes
1answer
88 views

Building an organization-specific XML editor in HTML

I'm building a user friendly XML editor in HTML/JS. Looking for some general advice on how to build the editor UI and which approach you'd recommend on mapping the data to the UI. Details about the ...
3
votes
3answers
377 views

Reasons for moving from pure JavaScript to a JavaScript library

Being aware of the direct benefits of libraries having things wrapped in a package, making daily work easier, my question is leaning more towards the fact that many features not implemented in ...
-2
votes
1answer
108 views

Why is an A element often used instead of a BUTTON for web design? [closed]

Is there any particular reason why people use the A tag to mimic a BUTTON in HTML and JavaScript?
11
votes
1answer
2k views

Pros and Cons of Facebook's React vs. Web Components (Polymer)

What are the main benefits of Facebook's React over the upcoming Web Components spec and vice versa (or perhaps a more apples-to-apples comparison would be to Google's Polymer library)? According to ...
34
votes
5answers
2k views

Why not embed styles/scripts in HTML instead of linking?

We concatenate CSS and JavaScript files to reduce the number of HTTP requests, which improves performance. The result is HTML like this: <link rel="stylesheet" ...
0
votes
0answers
74 views

MVC structure suggestions

I want to create an application i.e svg-edit that use javascript for client side operations but I want to integrate it with ExpressJS. Svg-Edit on the client side contains the folder containing the ...
0
votes
3answers
319 views

How to approach multiple page form with just one save option

The screen shot shows the magento product upload page. The left nav allows you to switch to different options for the product. Basically each option in the left nav appears as a different page. ...
2
votes
4answers
548 views

Learning to program after a 9-5 job [closed]

I'm currently working as an IT administrator, but I'm thinking of making a slight career change into programming. I want to focus my time and effort into learning some web-based languages, but does it ...
0
votes
1answer
158 views

what is the meaning of following definition? [closed]

I am new to javascript and start learning from w3schools website. I'm not able to understand what the following line means. Can anyone please explain this with example? You can only use ...
0
votes
5answers
207 views

Why do we write the action to be performed by a function in jQuery inside the parentheses?

Generally whenever we're programming in any Programming language, say C, we would pass the parameters we need to pass to a function using the parentheses next to the name of the function. Whereas in ...
-1
votes
3answers
274 views

What would be a good “umbrella” term for HTML, CSS, SQL, JavaScript and the like? [closed]

There appears to be a pretty clear consensus on the question about whether HTML and CSS are programming languages. They are not. HTML is a markup language and CSS is a stylesheet language. You could ...
0
votes
0answers
94 views

Ruby Capybara HTML DOM Issue

I am trying to get the links from Google adverts that appear in a webpage in programmatic manner. I have been testing Ruby and Capybara but I have an issue where the DOM as stated by Capybara is not ...
-2
votes
2answers
316 views

Do I need to learn Javascript to make decent websites? [closed]

Hello I have been using C++ and Java for years. For better or for worse, I have always looked at JavaScript as not as powerful as these languages and therefore probably not worth my time and effort to ...
2
votes
6answers
705 views

How can a server side developer survive in a position which expects front-end involvement? [closed]

My background is back-end server development. Very back-end. Now I work in a position where I need to also take care of front-end. Nothing fancy but I need to be able to code for front-end as well. ...
0
votes
1answer
206 views

How does google code prettify works? [closed]

I am using google code prettify. After a page renders, I decided to check how <code> and <pre> tags and their contents were manipulated. But in view source, I found no changes were made ...
4
votes
1answer
167 views

Drawbacks of using pure html in webforms? [duplicate]

I'm maintaining an ASP.NET Webforms 4.5 application for a few months and frankly i'm fed up with server controls. So i switched to pure HTML and Javascript for front end, when creating new content (or ...
4
votes
1answer
401 views

Is there a way to prevent the editing of HTML and CSS contents in a page using Firebug-like tools?

Is there a way to prevent the editing of HTML and CSS contents in a page using Firebug-like tools? I found that some users are editing some values in hidden fields and some contents which written ...
0
votes
0answers
141 views

What iframe event handlers can catch/handle error response statuses.

I require to download a url into an iframe and handle the cases where the server returns an error response status. Please could you inform me how to catch/handle the error status returned in the ...
2
votes
1answer
242 views

How to best organize spaghetti Javascript on the client with an MVC server architecture?

A LAMP project I am currently working on is pretty well organized on the backend. However, there are a ton of pages that just have a diarrhea of javascript and html squirted all over numerous ...
-1
votes
2answers
149 views

Where do I start to build this? [closed]

I'm a real estate professional and part of my job is to scan a database day in and day out searching for properties for a prospective investor buyer to purchase. I am pretty sure a program can be made ...
4
votes
1answer
471 views

Should MVVM ViewModel inject an HTML template for default view?

I'm working on web application design that includes Knockout.js and have an overall MVVM question: Does it make sense for the ViewModel to automatically inject a default HTML template (pulled from ...
2
votes
4answers
550 views

Why Have People Started Deeming it Necessary to Separate JS hooks from CSS hooks in HTML?

Edit: Point of clarificatioon, IDs and classes as separate hooks is just one form of the applied idea in question which is to never use the same hooks for CSS as you do in JS. I've also seen people ...
1
vote
1answer
166 views

Why do we program each file separately and place them in separate folders and how do all these file come together?

I was wondering how the cover flow effect is coded. I used this link which gave me the code on how it all worked out : http://luwes.co/labs/js-cover-flow/. I am completely new to complex programs so ...
1
vote
1answer
163 views

Value of frameworks for mobile web applications [closed]

Longer version, see below for the TL;DR As a developer with a strong background in the development of "classic" web applications I have been thinking about mobile web application architectures. One ...
-1
votes
2answers
521 views

What are some interview questions I can expect for a technical evaluation? [closed]

I am 20 years old and I've been doing some web development work for about 2 years or so. I have an interview for a Junior Web Developer position and the company knows that but I'll still be going ...
10
votes
10answers
4k views

Do I have to learn html and javascript to create web applications?

I am an experienced Java programmer, and I want to create a complex web application requiring dynamic pages, drawings, etc (take SO as an example). Do I have to learn javascript/html in order to ...
0
votes
1answer
123 views

Suggestions for html tag info required for jQuery Plugin

I have written a tiny bit of jQuery which simply selects all the Select form elements on the page and sets the selected property to the correct value. Previously I had to write code to generate the ...
2
votes
1answer
179 views

What is meant by sandboxing?

Sanboxing is listed as one of the many security features in html5 specification . Can someone explain what is meant by sandboxing? Does it relate to HTML only or to JavaScript also?
4
votes
3answers
973 views

Managing JS and CSS for a static HTML web application

I'm working on a smallish web application that uses a little bit of static HTML and relies on JavaScript to load the application data as JSON and dynamically create the web page elements from that. ...
5
votes
2answers
555 views

Proper Use Of HTML Data Attributes

I'm writing several JavaScript plugins that are run automatically when the proper HTML markup is detected on the page. For example, when a tabs class is detected, the tabs plugin is loaded dynamically ...
2
votes
3answers
184 views

Web Page Execution Internals

My question is what is the subject area that covers web page execution/loading. I am looking to purchase a book by subject area that covers when things execute or load in a web page, whether it's ...
5
votes
2answers
669 views

Efficient algorithm to sort html list of players

We have list of players, which is represented in form like this: <div class="players_list"> <div class="player" data-points="500"> <div class="name">Player1</div> ...
1
vote
1answer
722 views

How to use the clients webcam for recording through a website?

I am building a site and idealy I would like to record the users interaction via their webcam. How do I intergrate webcam recording into my site. I have seen It done with flash. But Im trying to avoid ...
5
votes
2answers
5k views

front end development test - html/css/jquery/javascript

We are continually revamping our front end developer test that we do in-house after a candidate has passed an online test. The online test has questions such as: How does a for loop start? What is ...
2
votes
2answers
3k views

Is it better to use multiple html pages or just change content on the same page using JavaScript?

Is it better to use multiple html pages and link them together with href or just change content on the same page using JavaScript? I am thinking of how to layout a page and I don't have a lot of ...
10
votes
4answers
858 views

Why is HTML/Javascript minification beneficial

Why is HTML/Javascript minification beneficial when the HTTP protocol already supports gzip data compression? I realize that Javascript/HTML minification has the potential to significantly reduce ...
0
votes
6answers
387 views

Should i expect real world questions from interviewing agency ? [closed]

I started coding almost a year ago. By "coding" I mean HTML(5), CSS(3), and only few times I implemented some AJAX and JavaScript. I am interviewing for a position that expects me to know HTML, CSS, ...
4
votes
7answers
3k views

Is it necessary to memorize code?

I am a new developer, who just got hired at a big company. I don't know how but I guess they are desperate. However, I am well-versed with HTML5/CSS3 though things change and new things are released ...
5
votes
5answers
323 views

displaying multi-section html documents - best practices

I work at a research organization and we publish a lot of large-ish documents, usually organized in sections. What I want to know is how best to present these multi-section documents on our website. ...
1
vote
2answers
524 views

Securing client->database game

OK, I am creating a game using JavaScript and HTML5. The variables such as map, x, y, level, exp, etc are stored in JavaScript to keep track. On my client page, the JavaScript variables are stored to ...
3
votes
2answers
3k views

Should I still make my site work in non-javascript capable browsers?

Apparently less than 1% had javascript off in 2010: http://developer.yahoo.com/blogs/ydn/posts/2010/10/how-many-users-have-javascript-disabled/ So is it worth it to still support browsing without ...
21
votes
1answer
2k views

The Box Model: Internet Explorer vs. W3C

Today, the Internet Explorer Box Model problem is mostly a non-issue. Most web developers place a <!DOCTYPE> tag to enforce standards compliance, and nobody really cares about supporting ...
22
votes
5answers
5k views

Pros and cons of an HTML/JavaScript only web app

I come from an ASP.NET forms background and have found server side coding very powerful in the past. More recently, however, I have been wanting to phase out the server side code of the front-end and ...
3
votes
3answers
2k views

How do I prevent useless content load on the page in responsive design?

In responsive design, elements are hidden in the page with @media queries and display: none in CSS. Ok. In my design however browsers that have less than 800px in width should avoid loading some ...
28
votes
8answers
6k views

When should JavaScript generate HTML?

I try to generate as little HTML from JavaScript as possible. Instead, I prefer to manipulate existing markup whenever I can and only generate HTML when I need to dynamically insert an element that ...