3
votes
1answer
46 views

JQuery code repetition and MVC

A while ago I started working on a project, which does things mostly with JQuery and PHP. I had some problems with my structure and started using CodeIgniter which uses an MVC pattern. So the PHP part ...
1
vote
1answer
34 views

my first jquery/json

This is my first use of jquery and json so would be grateful for any feedback please. Background - this is on a job listing site and it has a Linkedin apply button plugin - this provides for a ...
2
votes
1answer
52 views

My login with AJAX and PHP

In your opinion, do I need to do all these validations. I thought to do well and stay safe but I seriously raises the question if it isn't slower. jQuery code $(document).ready(function () { ...
-1
votes
1answer
81 views

ASP.NET MVC 4 Shopping Cart - Cannot update shopping car items using JQuery , Ajax, jSON, jGrid [closed]

I have this code in a C# MVC 4 VS2012 project. I need to be able to update the shopping cart with jSON data using JQuery/AJAX, i'm using jqGrid to display the data and pulling the shopping cart items ...
2
votes
0answers
87 views

Display progress bar to show async. request status using JQuery

Instead of using ProgressBar plugin, I've below script to display the progress bar for async. requests on the page. Could anyone provide any feedback on this esp. if there will be any issues like ...
1
vote
1answer
35 views

How Can I Improve my Image Preloading Script?

I wrote an infinite scrolling scrolling plugin for an app I'm developing. When requesting the second 'page' from the server, I loop through each image, and five it a very basic onload function. // I ...
0
votes
2answers
135 views

AJAX response DOM element selection

I GET a HTML response from AJAX over cors and the response is a table. Each category has its title and sub elements. The title names vary quite a bit and are likely to change in the future. The sub ...
3
votes
1answer
201 views

Filtering and Sorting jQuery Ajax response

What I'm trying to accomplish here is to pull a table of open employment positions with AJAX, filter out the garbage code that comes with it, put each <tr> from the response into its correct ...
0
votes
1answer
54 views

Is it possible to simplify my AJAX navigation code?

I'm still learning javascript and I'm building an ajax website that loads in content for each page from external files (e.g. test1.php, test2.php). I spent several hours cobbling together some code ...
-1
votes
1answer
82 views

Why I need to use 2 functions, but not only one [closed]

I paste all of my code because it might have a connection with the function I am asking for. I had some problems with my parseJSON() function and someone helped me to make it work. Now I don't know ...
0
votes
1answer
105 views

Authentication system using AJAX

I'm building an authentication system using a combination of PHP, MySQL, jQuery, and AJAX. The way I'm doing it right now is I have a form that takes in a username and password. When the user clicks ...
1
vote
1answer
33 views

How can I animate this foreach ajax call in jquery?

I have created an app in codeigniter that fetches some json data via ajax and displays it on the page. What i am trying to achieve is to load in a div per fan that is essentially just a box ...
5
votes
0answers
169 views

My PHP AJAX bridge to jQuery library

I've been working on this library for 2 years now and using on many websites with great success. And I decided to make it public, I can assure this is the best jQuery <=> PHP bridge library there ...
1
vote
2answers
122 views

Optimize JQuery/JavaScript Link Checker

Below is a script I've written that uses AJAX to check if all links on the page are alive or dead. Could this be modified to be more efficient in any way? Thank you very much. ...
2
votes
1answer
73 views

Improve Jquery ajax response

this way I handle ajax response: success: function (json) { $.each(json, function(index,item){ if (item.field == "article_id") { ...

1 2 3
15 30 50 per page