Tagged Questions
0
votes
2answers
19 views
Javascript function should call python logic in django web development without additional triiger
I have been trying to solve this problem for sometime now. This is regarding django web development.
I have an HTML page which has a Javascript function to upload an image file from the users local ...
0
votes
0answers
28 views
Need help with Javascript/CSS to manipulate html table layout for bowling scorecard
I'm trying to create a responsive table for a bowling scorecard. I want the table to split up depending on the width of the screen, preferably into thirds (where the first row would be frames 1, 2 ...
0
votes
4answers
88 views
HTML - Alternative for ID when ID is only unique within a certain scope?
So I feel like this should be a common question but I can't find the answer. Maybe I'm using the wrong terminology.
Assumptions:
IDs are supposed to be unique across the document.
Class attributes ...
0
votes
0answers
20 views
Can't post data to php, Can't see why [migrated]
I have some data from a form that is being sent to a php script to send an email, it is from a template but I think it is wrong. I have isolated the part of the code that is to blame. The specific ...
0
votes
2answers
130 views
Is it a good idea for JS objects to draw themselves when the page loads?
So normally I would only use JS to modify the dom after the user interacts with something or some event goes off. This seems right for some reason.
But I'm developing a widget based app where widgets ...
0
votes
1answer
142 views
Website File and Folder Structure
I am having a problem learning how proper website structure should be. And by that I mean how to code the pages and how folder structure should be.
Currently I am navigating around my website using ...
0
votes
1answer
156 views
For web apps (vs web pages) why not put scripts and css inline? [duplicate]
I understand that for normal websites you'd want to share scripts and css and therefore liking to them means that each page shares them from the cache. But this question is not about "normal multipage ...
1
vote
2answers
197 views
What license is HTML released under?
All products seem to be released with a license, I'm curious to know how one would go about finding out the license of technologies like HTML, CSS and JavaScript?
-2
votes
1answer
106 views
Develop a website using mustache.js and PHP [closed]
I'm thinking of building a website using mustache.js to render the website and having PHP as the backend. The PHP will then mainly contain queries to the database and some SESSION checkings.
...
1
vote
1answer
154 views
Why some Javascript code needs to be written in different tags and not embedded within the same
When I was using the modernizr file, I came across this problem where in I need to source a file and call the script.
<script src="js/modernizr-min.js"></script>
<script>
if ...
0
votes
2answers
88 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 ...
24
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
110 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 ...
2
votes
3answers
421 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
116 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?
43
votes
2answers
10k 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 ...
36
votes
6answers
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
3answers
425 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
617 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
159 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
220 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
299 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
114 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
378 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
5answers
743 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. ...
1
vote
1answer
215 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
180 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
428 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
149 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
252 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
150 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
2answers
532 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
633 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
169 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
168 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
533 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
129 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
180 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
1k 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
651 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
197 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
688 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
816 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
6k 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
4k 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
937 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
395 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, ...
5
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
337 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.
...