-2
votes
0answers
11 views

Week Calendar in CakePHP

How can it be, that my Jquery Week Calendar will work without inserting the files into CakePHP framwork. And wont work within the CakePHP Frameworks ? What i did to make it view within CakePHP ...
1
vote
4answers
31 views

How Disable href

I want to disable the <a class="fancybox" href="addrfq.php?pn=' . $row["counter"] . '"></a> if the the quantity in purchase_order reach the total_quantity in purchase_request. I have two ...
0
votes
1answer
16 views

Live Dynamic search of MySQL table using jquery and php

I am sure there are a number of articles covering this topic, but every piece of code I try just doesn't seem to work. If this has been answered somewhere else already, I am sorry that I could not ...
1
vote
1answer
18 views

add search ajax ability to this html form

I am stuck trying to add some ajax search ability to this php form. The form is already working but since I have many outputs, I want users to be able to search and select a profile from there. I ...
0
votes
1answer
26 views

javascript adding/deleting to/from text file

I'm trying to use jquery, ajax and PHP to add characters to a text file. The POST ajax call returns successful, but the PHP function is not executed. Does anyone see my error? Workaround? ...
-3
votes
0answers
40 views

JQuery Ajax $.get request not working in IE [on hold]

Hi I have this code that populates two lists the lists are populated using Jquery ajax call or functions <script type="text/javascript"> $(document).ready(function () { ...
1
vote
1answer
38 views

How to automatically hit download URL and download a file using javascript?

In WordPress there's a feature that exports your data into xml files. You can hit this URL with parameters and it will start downloading XML file. The cat parameter indicates the ID of the category ...
0
votes
1answer
48 views

How to send JavaScript array using AJAX to PHP?

I make a fucntion in html when I call function(click button) is to send array(json from) but it's not work, Help me to solve this a problem please! thank you everyone. :) html <? $arrs = ...
0
votes
2answers
33 views

Faster parsing of array in php

I have a CSV file with 40 000 lines, i load ALL THE LINES in a array and i use this function to return a subarray with just the value i need... here is the code <?php ...
1
vote
1answer
27 views

Simple success/error return with ajax and php

Just starting to learn about ajax although I am running into trouble trying to return a success message in an array. <script type="text/javascript"> $(function () { $('#delete').on('click', ...
0
votes
1answer
26 views

Random jQuery Ajax calls inconsistently fail

Using jQuery, I take form submissions and run them as AJAX requests instead. Generally, this has worked extremely well and been a robust solution. But one of my clients seems to be having certain ...
0
votes
3answers
41 views

AJAX - Button Submit to update a form

I'm attempting to learn to make use of AJAX. I removed most of the complexity of the program to just isolate the problem I'm having. So I have a text area and beneath that a div that has "STATUS" ...
-3
votes
0answers
30 views

PDO + PHP + AJAX proper implementation [on hold]

I had asked a question a question here and was asked by @MonkeyZeus to repost the results since I apparently did a good job with it. include '../../config.php'; include ROOT_DIR . ...
-8
votes
0answers
24 views

Molecule with JavaScript canvas? [on hold]

Molecule with JavaScript canvas Hi If I could get a piece of code introduced me to. So the molecular formula is received (for example h2o) and very easy to show.
1
vote
3answers
27 views

AJAX Multiple Forms With Same Submit/Click Function

I've got multiple forms (that are similar) that are passed using Ajax to appended a PHP page using this code below. However, when I click the first or second form, it only sends the data from the ...
0
votes
2answers
38 views

PHP- How to make it so someone can't change parameters in url and dont run script again on refresh on a page?

I have a page where any user gets directed to after a payment was made, and in that page there is PHP code to send a confirmation email and some certain other tasks. So I don't want user to be able to ...
0
votes
1answer
26 views

PHP form processing

I realise this may be a Noob question but I have read over 40 posts and am still none the wiser as to where or possibly even how to sanitize the output from the form I attach. I found the following ...
0
votes
1answer
23 views

When posting to a URL, Google Analytic's Event isn't firing

I am using a Cron-Job to search the database I have every 15 minutes for new users, the problem I am running into though, is when it finds any new users, it is supposed to use jQuery's GET function to ...
0
votes
3answers
27 views

Javascript obfuscate AJAX code

First of all sorry if the name of the topic isn't the most correct. Imagine the following code which connects to a PHP file by AJAX. function get_locales(){ var the_locale = ...
-3
votes
0answers
34 views

I get the message “ array to string conversion” plus am unable to send array to mysql database

This is my current code I have decided to include my entire page cause I don't know what am doing wrong. Additional code on the page. PHP $userId = $_SESSION['uId']; $propertyName = ...
-1
votes
0answers
61 views

if statement disabling my jquery function/button

I am a noobie and still stuck on this problem after hours of searching and trial and error. Any help would be greatly appreciated, as I am completely out of ideas. Thank you. I have a jquery comment ...
-1
votes
2answers
37 views

Best way to paginate query result without GET method PHP

What is the the best way to paginate mysql results without refresh the page? I'm using ajax to connect my html file to php. The php file has the query and i want to paginate the result. I'm ...
0
votes
2answers
23 views

Validating that all checkboxes are checked in form / Wordpress

I have the following that works great in jsfiddle: http://jsfiddle.net/cRKPt/ but when implemented here: http://tinyurl.com/kyttpue (within a wordpress page [view source to see coding/js]), it's not ...
-4
votes
1answer
28 views

jQuery mouseenter mouseleave show/hide div [on hold]

$z = 1; <td id=imgs align=center valign=middle><a href=\"" . $dir . $entry . "\"><div id=img$z style=display:none;position:absolute>test</div><img src=\"" . $dir . $entry . ...
0
votes
0answers
20 views

Loading a wp_editor () via AJAX doesn't work correctly

I have a problem with loading a wp_editor via AJAX jQuery into post_type page. I have removed the classic wp_editor and I want add my wp_edtior via AJAX. Here is my code: // MY PHP CODE ...
0
votes
0answers
33 views

Getting null when decoding what it seems to be a JSON object

In the Firebug when a AJAX call is sent I see the response as JSON I'm trying to decode this JSON response with PHP $data = '[[10592,[[2778318,"Damash Gilan ...
-1
votes
2answers
68 views

Upvote/Downvote based forums and user profiles [on hold]

I am in the early stages of developing a website and I became curious as to how an upvote/downvote code works, similar to that of reddit and stack over flow. What is the code usually written in? Im ...
0
votes
1answer
35 views

how to parse the contents of a particular row of a html table into array

I need to pass a one of these row contents of features-table to an array. But the problem is I used an iframe to display the table. And I need it to happen when after clicking the image of particular ...
0
votes
0answers
9 views

jPlayer — multiple instance mp3 player

I am working on a program in wich i need to use up to 4 instances of the jPlayer mp3 player. All seems to be working fine, but when i play all of them, 1 by 1 the following happens. I play the ...
-2
votes
2answers
74 views

Jquery security regarding mysql injection

I know its probably unconventional but I want to know if the below code is secure or not. First piece of code is htee jquery object creation plus the call to the retrieve_data function: var dataset ...
-1
votes
1answer
28 views

Creating dialogue boxes for editing and deleting records in Yii

In My Web app I have a CRUD table and I need to implement a dialogue ox on clicking a particular record for editing ,deleting and making other changes. I googled it but unable to find proper ...
0
votes
0answers
16 views

Attaching an Image as attachment in Outlook

I am working with a PHP web application, where I need to attach an image to outlook on a click of a button. Provided outlook is configured in the system, and is logged in. The image is coming from a ...
0
votes
1answer
22 views

Uncaught ReferenceError: FB is not defined

I know this question is asked frequently, but I have not found the solution. I use this code: open the html tag with <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#"> ...
0
votes
1answer
29 views

Paginate query result with AJAX and PHP

I have a fully working pagination with get method. I get the results from my query and the page is changed when the variable pagination changes on URL. I recently changed the site to ajax and now I ...
1
vote
3answers
38 views

prev() is not working it seems

i have my code like this in one file... $d = new db(); class db { function fetchform() { global $wpdb; $content=''; $result = $wpdb->get_results("select * from ...
0
votes
3answers
79 views

JQuery class vs ID

I have a foreach loop here. For every item it prints, there is a comment section that is expandable/collapsable. The problem I have is, when I hit the "Expand All" for an item, it expands the ...
0
votes
0answers
37 views

Map table in HTML to database

This is a 2 part question: 1. I have a table in html.the number of rows is going to be dynamic. Each row has 8 checkboxes each with a different class assigned. How do i map this table into a ...
0
votes
1answer
20 views

jQuery Mobile populate listview with PHP + AJAX

I'm trying to populate a listview of jQueryMobile with contents from PHP side. load_info.php file have the following code: if(isset($_GET['type'])){ switch($_GET['type']){ case 'locale': ...
0
votes
2answers
30 views

jquery/php form in modal window

I have a form in a modal window. When I submit the form through ajax I don't get the success message. My aim is to see the message created in the php file in the modal after submitting the form. Here ...
0
votes
3answers
55 views

How to sort json type data using javascript?

I have 3 dropdowns with list of places that I wanted to sort in ascending order. The first dropdown of places is sorted using codeigniter active record order_by function and the places were ...
1
vote
3answers
38 views

How should i remove printer image on print?

I am printing receipt using following code,but when i click print even printer image is shown in preview and print.My code is <button onclick="myFunction()"> <div ...
0
votes
0answers
29 views

How to display timer for cron job

I am currently working on a site that sumbit data from one table in the database to another table in the same database every 12th hour. I would like to display a timer that shows when the specific ...
-5
votes
0answers
33 views

Update Content With Ajax And Ajax Auto Refresh Div [on hold]

I'm developing a web page and would like to add Ajax post option in the index page... i.e when the user submit the post it will store in the database and display the content below the post form ...
0
votes
1answer
17 views

displaying error-messages in speech-bubbles using jquery/css3

hey there for now i am using this scripts for checking the input in my username-field: // username-check $(document).ready(function(){ $("#username-field").keyup(function(event) { ...
0
votes
1answer
47 views

Editing a row using an Ajax request

Here I have shown 4 files I am using to edit rows of table by taking data from the database. First file is DataAdministration.php. when loading this file #Loading_Page7 should be shown and after ...
4
votes
4answers
56 views

Adding GET parameter on url with a tag

I have a url that looks like this mysite.com/index.php?page=home&gender=female&age=22 or mysite.com/index.php?page=home&gender=female&occupation=programmer How can I append a new ...
-3
votes
1answer
22 views

Upload files using jQuery Ajax to PHP

HTML: <form id="upload" method="post" enctype="multipart/form-data"> <input type="file" name="file" id="file"><br> <input type="submit" id="upload_button" ...
0
votes
2answers
28 views

How to retrive name property of previous attribute

hi i am newbie in jquery.. i have code like follow <input type="text" name="name" id="name"> <a href="#" onclick="dele(this)">Remove</a> my question is how can i pass ...
1
vote
1answer
18 views

File button does not upload the image through ajaxForm after styling it

Here is the scenario.. I have a file upload button which is used for uploading images through ajax and preview the image in the browser. It also shows a loading bar when uploading happens. Now, I ...
0
votes
8answers
66 views

How to get the ajax response from success and assign it in a variable using jQuery?

Hello guys I have a problem in getting the response from my ajax. If I display it in the console. I can view it. But How do I assign it in a variable? Here's what I have. In my PHP code I have this ...

15 30 50 per page