2
votes
2answers
35 views

No POST data in jquery ajax call

I've been trying to POST data back to a controller from a lightbox using ajax but of course it doesn't work. I have two select lists, both populated from the default controller. When I select a ...
-1
votes
1answer
15 views

HTML email submission to MySQL database using php jquery and ajax without leaving page

I am trying to submit emails to a database (already created) without leaving the current page. I have tried many examples from stack overflow and others, with no success. My code (most of it taken ...
0
votes
0answers
18 views

PHP client image upload and thumbnail div creation

I'm making a PHP website for my sister and essentially I need to create a form in the admin section that allows her to upload two different types of files (1. Floorplans 'PDF' 2. Images ....) along ...
0
votes
1answer
17 views

submit value of radio button with jquery with onClick event

I have a simple toggle button on a page which uses two radio inputs: Foo: <input type='radio' name='foo' value='bar'> Bar <br> <input type='radio' name='foo' value='fru'> Fru ...
-4
votes
0answers
37 views

jQuery autoload at the end of the page

I've made a php script to show news in my webpage, the problem is that I only show the 10 last news in the page and i want to make a jquery function that load 1oad more news when he reach the end of ...
-3
votes
2answers
32 views

how to pass a variable value to php page using AJAX

I have a Ajax function in a page. function loadXmlDoc(pagen, vari){ var xmlhttp; if (window.XMLHttpRequest){ xmlhttp = new XMLHttpRequest(); } else{ ...
0
votes
0answers
44 views

onchange event is not working properly

i am trying to get data from another page so that user don't have to refresh the data is working fine but when i use any kind of javascript script or css it don't work with on change whereas it works ...
0
votes
1answer
26 views

PHP, Singleton and $.ajax

It seems like $.ajax (jQuery) doesn't work well with PHP Singleton. I have a simple Class defined like this: class MySingleton { protected static $instance = null; private $array; ...
0
votes
4answers
62 views

Check if cell number exists in database

i want to check if the cell number a user is trying to enter already exists. But the code below always calls this "Cell Number in use", what im i doing wrong? Still starting with php. <?php ...
0
votes
0answers
18 views

How to close a colorbox lightbox after call to PHP page?

I'm using PHP, Smarty and MySQL for my website. I'm also using Colorbox-a jQuery lightbox library. Now the scenario is I'm clicking on a hyperlink, then I'm calling the colorbox lightbox. I'm passing ...
0
votes
3answers
46 views

Ajax only works when I upload the html-page to my server

Is it normal that the code below is returning "error" when the html-file is not uploaded to my server, and if so: why? It works perfectly once I upload it to my server, though... <head> ...
-1
votes
0answers
21 views

Seemlessly updating a table with jQuery's AJAX

I have a table, and it will be changed over a period of time (it is a check in table for an event, so it will be updated as people check in) - However I want to create a page where this is done ...
0
votes
0answers
21 views

CKEditor textarea disabled

I'm having a really weird problem with CKEditor that seems to be completely randomly and difficult to reproduce. The problem essentially lies that the main textarea of CKEditor is completely disabled ...
1
vote
2answers
52 views

Change the style class of an <img> with AJAX

I've managed to get AJAX working so that PHP is executed on click of an image, however, I want this result to be shown visually in real time without the page reloading so I'd like to change the class ...
0
votes
3answers
48 views

AJAX PHP Submission not working

I'm trying to execute a PHP script that updates a MySQL DB on click of an image. I'm using a snippet I found online to do so: function execute(filename,var1,var2) { var xmlhttp; ...

1 2 3 4 5 1030
15 30 50 per page