42
votes
7answers
13k views

Multiple javascript/css files: best practices?

I have about 7 Javascript files now (thanks to various jQuery plugins) and 4-5 CSS files. I'm curious as to what's the best practice for dealing with these including where in the document they should ...
37
votes
4answers
34k views

Confirm delete modal/dialog with Twitter bootstrap?

I have an HTML table of rows tied to DB rows. I'd like to have a "delete row" link for each row, BUT I would like to confirm with the user beforehand. Any way to do this using the (Twitter) ...
36
votes
8answers
66k views

jQuery: print_r() display equivalent? [duplicate]

Possible Duplicate: JavaScript data formatting/pretty printer I am getting a bit tired of looking at unformatted json blobs in FireBug. Does anyone know an equivalent to PHP's print_r() ...
35
votes
6answers
16k views

Convert MySql DateTime stamp into JavaScript's Date format

Does anyone know how I can take a mysql datetime stamp, such as YYYY-MM-DD HH:MM:SS and either parse it or convert it to work in JavaScript's Date() function, such as.. Date('YYYY, MM, DD, HH, MM, ...
28
votes
6answers
971 views

How can I implement an “interesting tags” feature like that on Stack Overflow?

Check my other question with bounty: http://stackoverflow.com/questions/3436287/finding-similar-number-patterns-in-table I'm trying to implement an Interesting Tags feature. For reference, this is ...
28
votes
7answers
7k views

A PHP and jQuery form creation and validation library available? [closed]

Original Question Is there a well tested and preferably mature library out there for creating forms in PHP with both client side (this is where the jQuery comes in) and server side validation? ...
27
votes
13answers
14k views

close a connection early

I'm attempting to do an AJAX call (via JQuery) that will initiate a fairly long process. I'd like the script to simply send a response indicating that the process has started, but JQuery won't return ...
26
votes
7answers
23k views

How can I get jQuery code completion in NetBeans?

I'm using NetBeans for PHP. When I edit a .js file, it gives me javascript code completion. How can I get it to also give me jQuery code completion?
24
votes
6answers
5k views

Creating HTML: PHP server-side vs. jQuery client-side

This is a design question. I have data that needs to go into an HTML table, which will later be manipulated by the user. Basically the user will be able to select items in the table rows. I have two ...
24
votes
10answers
489 views

Vertically align div's but keeping horizontal position intact

From a database I'm pulling a kind of timeline of Div's with a certain starting point and certain end point. Some of them overlap, some of them can be fitted next to each other. Ultimately I want ...
23
votes
3answers
20k views

Jquery sortable list won't serialize, why?

I'm implementing a sortable list of images with jquery in a Zend Framework application. I just can't get the .sortable('serialize') method to return more than an empty string. When I try with a few ...
21
votes
8answers
69k views

using jquery $.ajax to call a PHP function

This may be a simple answer, but I'm using jquery's $.ajax to call a PHP script. What i want to do is basically put that PHP script inside a function and call the PHP function from javascript. ...
21
votes
5answers
26k views

Passing JavaScript Array To PHP Through JQuery $.ajax

I want to manipulate a javascript array in PHP. Is it possible to do something like this? $.ajax({ type: "POST", url: "tourFinderFunctions.php", data: ...
21
votes
3answers
490 views

Using HTTP Authentication

I am building a REST API in PHP to work with a JavaScript based app. All requests are handled as JSON and some requests require authentication. An example request would be: $.ajax({ type: 'GET', ...
21
votes
10answers
7k views

What are good PHP and MySQL type Blogs to read? [closed]

I searched and found many topics similar to this on Stackoverflow, but they were all for languages that I do not use. I am interested in reading good blogs with an RSS feed in topics related to PHP, ...

1 2 3 4 5 1486
15 30 50 per page