jQuery is a cross-browser Javascript library that provides abstractions for DOM traversal, event handling, animation, and Ajax interactions for rapid web development.

learn more… | top users | synonyms

1
vote
1answer
751 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
552 views

Next step after creating mock-up screens

I have created some mockup screens for my app in HTML/CSS. I have 4 screens in total. They contain no client-side coding i.e. Javascript or jQuery. The screens themselves are quite bland at the ...
1
vote
1answer
370 views

Javascript/ui framework to compliment WebAPI/TypeScript/ASP.NET MVC? [closed]

We're about to venture into building a brand new SAAS application that needs to have a great looking and sophisticated front end. The UI is meant to be single-page, built on top of Web API and using ...
1
vote
1answer
350 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 ...
1
vote
1answer
481 views

How to submit a bug/fix for jquery unobtrusive validation?

I found a small bug in the microsoft mvc3 remote validation, concerning the clientside javascript implemented in jquerys unobtrusive javascript. The problem/bug can be fixed by adding a few lines to ...
1
vote
1answer
214 views

Recommended architecture for an interactive table widget with multiple behaviors in Javascript / jQuery

Use case: For an administration UI, I want an interactive table widget with a number of behaviors: Collapse / expand (yes, this means the rows are a hierarchy) Update of data in a child cell based ...
1
vote
2answers
189 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
173 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
208 views

Is there a “SMACCS” for jQuery? [closed]

I find my usage of jQuery scaling in proportion with user expectations and RIA app. development. Problem is, I'm no jQuery Guru. I am looking for some nice practices that also do not require a deep ...
1
vote
4answers
1k views

Is JQuery or Javascript capable for image processing?

My plan is to develop a web based application in the future. I think I can name it "Booth Reservation System" for the Events companies here in our country. One of the main functionality of the system ...
1
vote
0answers
107 views

What is the best way to approach building search functionality for a large website using PHP, MySQL and JQuery [closed]

I've a question I'm hoping I can get some assistance on because It's causing me a lot of stress in work trying to get it sorted. I figured this was the best place to ask it as it's not a specific ...
1
vote
1answer
134 views

Organisation of $(document).ready

I have some code that looks something like this, except rather than 2 sections, there are about 20, and they have real code in them: /*------------ * Contents: * 1. Load slider * 2. Check form ...
1
vote
0answers
266 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 ...
1
vote
1answer
586 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
5answers
245 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 ...
0
votes
1answer
2k 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?
0
votes
2answers
159 views

Why don't browsers have the ability to differentiate between events triggered via input devices and scripts ex: element.onEvent()?

Why don't browsers have the ability to differentiate between events triggered via input devices and scripts ex: element.onEvent()? Wouldn't this be a very simple way counter attack web spam bots? Or ...
0
votes
3answers
221 views

When/Where to create/assign event handlers to its elements

Lets say I have the following code // JS $(function(){ $('[data-mc=logout]').click(function(){ if (!confirm(myconfig.msg['asklogout'])) { return false; ...
0
votes
1answer
114 views

Declaring many times: script type=“text/javascript”

Trying to clear my HTML code, is it correct if in my web page I declare many blocks of <script> . Like this: <script type="text/javascript"> ... ... </script> <script ...
0
votes
1answer
132 views

Would it be the right software engineering system to move from AngularJS-based to jQuery-based or hybrid implementation for webapp?

I am presently working on an AngularJS-based chat webapp, and it polls the server for updates, and then renders them in what is pretty much a straight shot in AngularJS. The result looks appropriate ...
0
votes
1answer
237 views

Should I use my own public API on my site (via JS)?

First of all, this question is far more different other 'public api questions' like this: Should a website use its own public API?, second, sorry for my English. You can find the question summarized ...
0
votes
1answer
68 views

Persist AJAX values [closed]

I have a simulator that pulls data from a DB - calculates and return JSON result to an ajax call that renders a table for the results. The calculation procedure are as follow: grab X number of data ...
0
votes
3answers
395 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 ...
0
votes
1answer
195 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 ...
0
votes
1answer
138 views

Starting Web Development and interactive experiences

I'm new to web development and I'm a bit confused about the different languages and technologies in the web. I understand the basic is Html, Javascript, and Css. Then there's jQuery, ASP.net, Html5. ...
0
votes
1answer
64 views

how can I minimize my ajax calls to the server while creating a dashboard

I want to create a dashboard for my website. I have divided my dashboard into different modules. As I understand it, I will have to make many AJAX calls. The different modules are: total number of ...
0
votes
1answer
191 views

What is the proper way to extract and pass parameters to call javascript functionality from my PHP page?

This is my situation: I have a search results page in PHP where most of the logic resides in a javascript file in order to avoid refreshing the page every time an action is performed. The first thing ...
0
votes
1answer
611 views

How does jQuery's mechanism of event handlers work

I'm in the need of widen my perspective on the framework libraries, to be able to make well aware choices of if/which/when to add a framework to a website. One thing that got my attention was event ...
0
votes
1answer
79 views

What does &callback= do

I am trying to create a timer that ever x minutes it will call to a server, get a JSON file and do something with it. The merits of that system are not in question right now, the question involves ...
0
votes
2answers
3k 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. ...
0
votes
1answer
285 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
3answers
360 views

API access question

FIRST, THE SCENARIO We have an internal system that is effectively split into 2 very separate parts across 2 sub-domains, our back-end administrative system for internal access only we will call this ...
0
votes
2answers
200 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 ...
0
votes
1answer
674 views

Best practice for populating a dynamic popup menu?

I'm creating a dynamic popup menu whose contents depends on the state of what the user clicked on. Is it considered a better practice to create a template menu in html and modify which options are ...
0
votes
1answer
181 views

Penny auction concept and how the timer works

I am creating a penny auction site using PHP yii framework. The main consideration of the system is to update the database records of all active auctions (max 15 auctions) with the current ticker ...
0
votes
2answers
434 views

“Match Making” script, a way without involving the database and php?

I am writing a matchmaking script for a game through a web portal. For the past few days I have been looking into the different options and I believe the following approach would be the most optimal ...
0
votes
1answer
91 views

should this code be structured into an event capture and a method or put the functionality in the event capturing

I have adopted some jQuery code that has like 20 event-captures that look like this // used on menu#edit $('.show-headers-only-toggle').on('click',function(){ ...
0
votes
3answers
566 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. ...
0
votes
1answer
120 views

Technique to deal with occasionally blocking json api?

I have a web app that occasionally (after some idleness) will block a very simple request for small chunks of data (30~50 kb) up to 20 or so seconds. Assuming I can't refactor or modify the API, is ...
0
votes
1answer
2k 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 ...
0
votes
2answers
518 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
1answer
138 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 ...
0
votes
1answer
856 views

With ASP.NET MVC actions, should I use web services?

In ASP.NET Web Forms if you want to use jQuery and call a method directly, you should either implement a web service, or use Page Methods. Also you can use Generic Handlers (.ashx files). However, in ...
0
votes
1answer
106 views

Is the jRails Project something I should use?

The jRails project is a drop in replacement for the Prototype/scriptalicious helpers already a part of the Rails framework. Are your experiences with this project positive? Does it do what it says on ...
0
votes
0answers
14 views

jQuery event binding management

Given the following elements: <div class="container"> <span class="some-class">content</span> ..n span repetitions.. </div> Given the following .on() ...
0
votes
0answers
80 views

Managing Login Authentication/Webpage session: Can client side javascript/JQuery access either a session variable or json variable in html?

Short version: A variable is stored in a session variable req.session.userName and also in the json sent with res.render('/', {username: value}). How can I access either of those variables from inside ...
0
votes
0answers
16 views

How can I control properties scope while developing plugin in jQuery

I had a generic task in my project which required changing some elements. Instead of making changes for each element I decided to create a plugin for the common task and then bind plugin with each ...
0
votes
0answers
142 views

Best practice: dynamically handle variable data, multiple file uploads and encoding with jQuery, AJAX, PHP and MySQL

I'm currently writing an e-learing web-application. I'm sorry if this is information overkill but I think it's better to describe it in detail so you get the idea. I have made thought on every point ...
0
votes
2answers
141 views

Changing CSS classes when different strings are displayed in a text element with jQuery [closed]

I'm just wondering if this method would be possible using jQuery HTML and PHP. Basically I have a filtering system were products are listed, some have different attribute values such as Hatchback for ...
0
votes
1answer
119 views

Creating a voting platform for submissions during timeperiod

I have a site where stories are submitted at any time by users. The staff would like the ability to create a voting period at any time. For example, they can choose to open up voting from today until ...