Tagged Questions
-1
votes
0answers
8 views
how to add new product ( hidden list ) forr smartcart jquery pluguin? [migrated]
i am using smartcart 2 jquery pluguin on my application to handle session cart.
the user can create new product and add it to his cart. i use ajax call to save the product in my list .and then i need ...
2
votes
2answers
203 views
Client side web development, general question
I'm a novice web developer, mostly worked with ASP.NET. On the server side, everything is very well documented and whenever there is an error, you get an explanatory error message. But on the client ...
-4
votes
1answer
76 views
Check Javascript coding practice and overall performance [closed]
I have a Edit/Details form which has 4 user related fields. On click of Save, I save the edited fields to local storage (if supported) and display the same values in the Details view.
Below is the ...
1
vote
1answer
83 views
Finding the possible combinations of x switches out of y being true
I am working on an algorithm to find possible fills for gaps in text. My function will receive as input:
(example)
[false,"o",false,"b",false,"r"]
representing the string "foobar" with some values ...
1
vote
1answer
72 views
What's the protocol for a autoexecuting JQuery plugin?
I have a jQuery Plugin that I use myself which modifies the selected value of select items on a page.
In my own code the plugin automatically executes as soon as it is included in the page this code ...
1
vote
1answer
131 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 ...
21
votes
5answers
1k views
How do I convince my boss (and other devs) to use/consider Unobtrusive JavaScript
I'm pretty new in our develepors team.
I need some strong arguments and/or "pitfall" examples, so my boss will finally understand the advantages of Unobtrusive JavaScript, so that he, and the rest of ...
2
votes
1answer
120 views
How to dynamically add new posts once they are created
I am trying to design an application where users can make posts with Django on the backend. Right now I have to refresh the page with JavaScript every 20 or 30 seconds to check for new posts that ...
0
votes
0answers
134 views
Admin Panel like Custom Framework [closed]
I want to Create a Framework , like Admin panel , which can rule almost all the aspects of what is shown on the frontend.
For an (most basic) example: If suppose the links which are to be shown in a ...
2
votes
2answers
155 views
Using which technique does facebook and pininterest show images?
If anybody has ever noticed that when you open a image in Facebook something like this happens:-
suppose you are at your homepage on Facebook:-
the URL is
https://www.facebook.com/
now if you open a ...
5
votes
1answer
97 views
Creating and assigning console.log a new object
I have seen code like this in several places:
(function() {
var method;
var noop = function noop() {};
var methods = [
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', ...
0
votes
1answer
82 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 ...
13
votes
7answers
4k views
Advantages of using pure JavaScript over JQuery
What are the advantages of using Javascript-only versus using JQuery-only?
I have limited experience with JavaScript and JQuery coding. I've added bits and snippets of each to HTML pages but I've ...
1
vote
2answers
286 views
is it safe to use jQuery and MooTools together?
I just need to know is it safe to use jQuery and MooTools Together in one web framework?
I am not trying create application using both of them, but I am in a situation where I need to modify mootool ...
-1
votes
1answer
438 views
Can jQuery be used server side? [closed]
I know that you can use JavaScript server side with node.js, but can we use jQuery for backend as well? Or will I just have to learn CoffeeScript instead of jQuery?
5
votes
3answers
2k 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 ...
10
votes
11answers
2k views
Best approach for writing a chess engine?
I'm a chess enthusiast and a programmer. I recently decided to start making a chess engine using my chess and programming knowledge. So here's my question:
What language (I'm familiar with Java, C++ ...
1
vote
1answer
668 views
Print three copy of asp.net page two copy with diffrent color [closed]
I have an ASP.Net page. I want to print that page 3 times, 2 copies should carry "COPY WORD, as a watermark".
I have written this code code to print three copies, but it's asking confirmation about ...
3
votes
7answers
1k 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 ...
4
votes
2answers
372 views
Does it make sense to use jQuery in modern-webkit-only web applications?
I'm lately working on a few mobile web apps for Android (2.3+) and iOS (4+). Their browsers support most of ECMAScript5, which is very powerful, and I wanted to use language features where possible, ...
1
vote
1answer
336 views
use of script tag in different position of page [closed]
I found that sometimes the script don't run properly when I add script tag in the head section. But when I add script right before the ending tag of body it works fine.
What is the difference between ...
1
vote
3answers
206 views
what is the difference between the below two syntaxes? [closed]
1.
$(function () {
function foo() { return true; }
log(bar()); // getting error
var bar = function() { return true; };
});
2.
$(function () {
...
6
votes
1answer
3k views
Backbone/JQuery, ExtJs 4… is there something else worth looking?
Im currently evaluating a front-end architecture for a big app that will be developed by a team of about 6 developers + 1 web designer so that said, having a robust SVN friendly architecture is a ...
2
votes
3answers
750 views
Is it better to learn the DOM or jQuery first?
I have gotten very familiar with the core functionality of Javascript and now I am aiming at learning DOM manipulation. I have already thought of learning jQeury for this but I don't know if it is ...
3
votes
3answers
2k views
Certifications for Javascript developers?
I'm looking for a solid and but fast paced entry in field of javascript development.
The following topics come to my mind:
Javascript advanced concepts, OOP
jQuery, jQuery-UI, jQuery-Mobile
...
4
votes
2answers
746 views
Is mootools alternative of jquery + backbone / spine / sprouteCore
I was a full time java developer, now I'm also working with JavaScript and Android. A couple of years back when I started learning JavaScript, the first library I tried was jQuery. But it made my life ...
0
votes
1answer
129 views
Trying to do some Obfuscation, How should I approach this particular case?
I currently have an assignment that is really pushing my limits so I need some help on how to approach this.
We have a set of 25 results
We are using a jquery plugin to vertically scroll through ...
9
votes
6answers
916 views
How can I write HTML, CSS, and JavaScript to make back-end developers work easier?
When I get a design from a designer, I get it as a PSD (Photoshop) file. I always expect proper layer and folder names, basically a clean and managed PSD. From this desigbn I develop HTML, CSS and ...
2
votes
1answer
374 views
How can I simulate clicks for a mobile browser?
I am creating a web app. I was testing it on a mobile browser and noticed that :active pseudo class doesn't really work. How should I simulate clicks for a mobile browser? I'm specifically interested ...
0
votes
2answers
165 views
JavaScript (jQuery) And CSS Styling
Lets say I am building a jQuery plugin that has a number of non-configurable css attributes it needs to apply to DOM elements the plugin itself creates. Is it consider better practice to apply the ...