jQuery is a cross-browser Javascript library that provides abstractions for DOM traversal, event handling, animation, and Ajax interactions for rapid web development.
-1
votes
0answers
49 views
I need help with a programming structure
I'm working on a chat application with HTML, jQuery, PHP and MySQL.
My program looks like this: on the left you have users bar, where you can find all of the users (the program also displays if the ...
0
votes
1answer
80 views
Inserting HTML code with jquery
One of our web applications is a page that takes in a serial number and various information is returned and displayed to the user. The serial is passed via AJAX, and based on the response, one of the ...
-1
votes
1answer
27 views
Align draggable elements in line and generate without overflow or new line [on hold]
I have this script I'm working on.
What it should do is generate a new div every time I press a button and I've already done that, but those are not draggable. I think that happens because of the ...
0
votes
0answers
204 views
Avoiding pain Q on JQuery/Ajax/Php/MySql architecture
I would like to learn from others' experience and avoid learning-through-pain with this question. I am ramping up to build a new site that will require login, registration, and data retrieval from a ...
-11
votes
0answers
80 views
I want to replicate this awesome effect [on hold]
I'm new to jquery and css. I want to replicate this effect in my own page but I want to do it dynamically with php and MySQL db.
0
votes
1answer
60 views
Confused on whether to use Ember or pure jQuery for a project? [closed]
I have this upcoming project where I might have to query database with large number of 'users' and filter them on the basis of various criteria. Moreover, I will be using Local Storage API to save ...
-1
votes
1answer
54 views
Looking for suggestions on “tightening up” code and what other framework / methodology to adopt [closed]
I have been a PHP / Javascript / mySQL programmer for over 10 years. I feel like my expertise in PHP has plateaued. For the past four years, I have been developing web-based apps for the company I ...
-1
votes
0answers
23 views
Jquery animation [closed]
Requirement:
The page has a set of anchor links ( which will act as filters ) and a list of images. Each image might be in a individual div tag or might be in a li tag not decided yet.
Every time a ...
0
votes
1answer
179 views
Does IE have more strict Javascript parsing than Chrome?
This is not meant to start a religio-technical browser war - I still prefer Chrome, at least for now, but:
Because of a perhaps Chrome-related problem with my web page (see ...
3
votes
3answers
300 views
How do you unit test a User Interface? [closed]
I use JavaScript with JQuery for a Rails application. I have some dynamic behaviour in this one. As a Ruby developper, I like TDD/BDD, specialy with RSpec. For the moment, I test my JavaScript ...
1
vote
0answers
106 views
Best practices to do complex forms with javascript? [migrated]
In a Rails application, I want to have a complex form with some dynamic behaviour. For example, I want to show a part of the form want I check a box or I want to have different values in a select box ...
-1
votes
1answer
66 views
Run jQuery search on a URL's content
I'd like to create a program/application to iterate through all of a Tumblr user's posts and copy the content from each. In essence it'd be like Tumblripper, but download the text and video URLs in ...
-1
votes
0answers
16 views
fileUpload jQuery Plugin does not return data on done or success call back IE [migrated]
fileUpload jQuery Plugin does not return data on done or success call back in Internet Explorer, It is working fine in other browsers.
$('#fileupload').fileupload({
dataType: ...
1
vote
1answer
250 views
High traffic chat - how to check if there is new message and show it for all users
I already had question about this but obviously it was not accepted very well, apparently too long when it's actually more information so you could have given me better answer.
Ok, I will be much ...
-1
votes
2answers
215 views
How do Jquery programmers write their for loops? [closed]
I know someone who claims that 'real' Jquery programers never write their own for-loops, they use .each() instead. I'm aware that they don't use Pascal, but I've never heard anything about them ...
0
votes
1answer
119 views
Display error message with jQuery without reloading page
I created login form. When user clicks on login button this form shows up with some fade effect (jQuery). What I want to do is to display error message in this form when user inputs invalid data. ...
-1
votes
0answers
94 views
What is the easiest path to convert a web site to an app that could be installed on a tv? [closed]
I'm working on a web site that would be a natural for use on a tv; it's an asp.net website that is 99% jQuery-driven.
Considering that I have a background in C#, and have also dabbled in Java ...
-1
votes
0answers
4 views
JCrop selection on image problem in IE [migrated]
I am using JCrop to crop an image after upload with Ajax upload
control in my web application. It works great on Chrome, Firefox but
not in IE. I use JCrop v0.9.12 (build: 20130202) and IE
...
-1
votes
0answers
33 views
Logging touch events in Mobile Safari
I'm currently working on a web-app targeting desktop browsers and mobile Safari. In the process of debugging (pseudo)hover interactions on iOS, I'm running into some interesting things with classes ...
0
votes
0answers
5 views
Javascript Scrolling Tables [migrated]
I am trying to create a certain view of some editable data (for a timesheet system) and the piece I am currently working on needs to be scrollable in a certain way. It is unlikely that this will need ...
0
votes
0answers
35 views
jQuery .with() to allow better chaining and flow [migrated]
What are your guys thoughts on the following jQuery plugin?
$.fn.with = function( fn ) {
// Verify function
if( jQuery.isFunction( fn ) ) {
var temp = fn.call(this);
// Check ...
-4
votes
1answer
105 views
How can I become a better Javascript programmer? please share your thoughts and experience [closed]
I'm at intermediate level in writing javascript and i feels that there is something I m missing. I want to move forward to become best javascript coder to make any kind plugin , I know there is lot of ...
0
votes
1answer
94 views
How to test functions or the code inside $(document).ready() using Jasmine?
I have multiple functions and a lot of code inside $(document).ready(function()). I am using jasmine to test the functions inside the ready function as well as the code inside ready() but when the ...
-1
votes
2answers
72 views
How commonly used is jQuery DataTables, and what are the alternatives? [closed]
I'm doing some work on a project that uses jQuery DataTables. I've never used this particular jQuery extension before.
In the past, I've used the ASP.net DataGrid control, which of course is not ...
-3
votes
3answers
207 views
HTML + CSS or HTML5 + CSS3 or HTML5 + jQuery [closed]
I want to be a good UI Developer.
I'm confused whether I should learn (I need some serious suggestions):
1) HTML + CSS + JavaScript or HTML5 + CSS3 + JavaScript or HTML5 + CSS3 + jQuery
2) Is it ...
1
vote
1answer
185 views
Is the “jQuery programming style” a kind of Reactive programming?
jQuery is a Javascript library and framework, but when we are programming
with jQuery into DOM problems/solutions,
we can practice a style quite different of programming... We can read about jQuery ...
0
votes
0answers
71 views
Are there any benefits to removing unused script files in a web site/project?
VS Web sites/projects come loaded with several .js files, most of which I don't use (e.g., I use a CDN for newer versions of jQuery and jQuery-UI). I know it's safe to remove these unneeded .js files ...
0
votes
1answer
232 views
What is the pronunciation of $ / $. in jquery [closed]
When you are reading jQuery code aloud and you get to anything that uses $, do you pronounce that as "dollar sign", "jQuery", "jQuery selector". Is there some other pronunciational shorthand for the ...
-2
votes
1answer
119 views
Will I need to use AJAX for this?
Say I have a model written in php whose properties are the columns of a table in a db and each instance of the model represents a row in the table. I also have a page ('view') where I display the ...
1
vote
0answers
152 views
What is the rule on passing around collections? List vs. Ienumerable vs. IQueryable
I do Entity Framework stuff using repository patterns that are passed to the controller to than be called by the client using jquery AJAX.. Is there any basic rules on in what format I should be ...
0
votes
0answers
48 views
framework for managing many jquery ajax call which call most of the server side methods
We have completed a simple leave management system in asp.net form application , In which most of the code written server side.
Now my Project manager wants that each server side code to be replaced ...
10
votes
3answers
854 views
Object Oriented Programming in JavaScript. Is there life without it? [duplicate]
At our company we have pretty large body of PrototypeJS based JavaScript code, which we are porting to jQuery for several reasons (not really important here). I'm trying to set up coding guidelines to ...
0
votes
0answers
77 views
Unit Tests for Database Abstraction Layer
I previously asked this question about creating an algorithm for joining records from multiple databases, and since then, I have built a rudimentary version of it (which doesn't allow for inter ...
-4
votes
1answer
267 views
Making <li class=“”> active and inactive [closed]
I have a simple html page in which i'm including header.php, footer.php files.
In this page there is a sidebar which is styled by css. I want to take this sidebar out and include it through php ...
6
votes
4answers
197 views
Issues to be considered while loading jQuery?
I have seen many answers in SO regarding using Google's CDN to load jQuery instead of
loading it from the local server. In essence I understand this is the issue related with decreased latency, ...
2
votes
2answers
288 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 ...
0
votes
2answers
242 views
Client = Html5 + CSS3 + JS + Jquery. Server =?
I want to build most of my functionality on the client. However I'm not quite sure which server-side web development framework can provide me with a nice REST endpoint to handle resources, business ...
0
votes
3answers
150 views
What tools can I use for professional document-creation and -printing in PHP? [closed]
I'm in the process of building a new pledge management system for one of my clients, a charity foundation. I have already built one for them (it was done using Delphi), but its feature-set is a little ...
1
vote
1answer
143 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
82 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
149 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
2k 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
193 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 ...
3
votes
1answer
94 views
use of jquery-latest
I recently had some code I wrote a year ago fail because someone linked my code to
http://code.jquery.com/jquery-latest.js
In the latest version, jquery had deprecated/replaced a function.
...
41
votes
3answers
2k views
Is jQuery an example of “god object” antipattern?
I want to ask – I am slowly learning jQuery.
What I see is an exact example of a God Object anti-pattern. Basically, everything goes to the $ function, whatever it is.
Am I right and is jQuery ...
2
votes
2answers
173 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
120 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', ...
1
vote
1answer
218 views
GPL question : web application using Imagick and GhostScript => Which would be the final licence?
I am a bit confusing and I need your help to undertand my problem.
I have developed a web application (PHP, JQuery) for one of my customer.
Recently, my customer ask me to add a new feature ...
0
votes
1answer
99 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
100 views
Why is DOM or JQuery considered an API? [closed]
My understanding of an API is this:
An API is the interface implemented by an application which allows
other applications to communicate with it.
So why is DOM or Jquery considered to be an ...