0
votes
0answers
18 views

JSON ajax SyntaxError: JSON.parse: unexpected character

All I am trying to do is to build an object from the input elements typed in by the user without them clicking submit. These functions supposed to do the job, except I am not getting the $_POST array ...
0
votes
0answers
19 views

calling servlet from jQuery using Ajax not using eclipse

I used eclipse IDE to develop an application which calls servlet POST method from jQuery using $.ajax(). Now I need to deploy this application on server. Untill I use this application in eclipse IDE ...
0
votes
1answer
26 views

JSON encoded value not returned properly

I'm trying to call a file from my server and return an HTML form. I asked a question here to get started but now I have another problem. The textbox and submit button display, but since the data is ...
0
votes
1answer
24 views

Return result from Ajax post [duplicate]

I have the following Ajax post request inside a function and am trying to return the result (in this case a string) and place that string inside a and show that near the element which triggered a ...
0
votes
0answers
17 views

dynamically update a function (publish count) with jquery upon publish/unpublish

I am using ajax to publish/unpublish an database entry, so its visible in the front end. Its a simple 1,0 kindof script. if ($_GET['cmd'] == 'publish') { Nemesis::query("UPDATE projects SET ...
0
votes
2answers
29 views

How can I select multiple ids generated by a loop dynamically in Jquery and pass them to AJAX?

Ok , I am trying to get different id values through Jquery , and pass them to Jquery AJAX that will hit a PHP file so I can get some data back .... I'm not sure how to get all the multiple different ...
0
votes
2answers
21 views

Ajax wait for Animation to complete

I know this topic had been discussed earlier on stackoverflow. But all the results wont help to solve my porblem. I use the "form" jQeury plugin like this: $(document).ready(function() { ...
0
votes
0answers
27 views

Insert data into database from jquery modal form dialog box

I have a page shown below that displays a list of user records from a database with a button. When I clicked on that button display a jquery modal box with a form that allows someone to enter their ...
-4
votes
1answer
32 views

Ajax not working on server, but on local is working perfectly [closed]

Here is my code... $('.savebtn').click(function () { var idComment = $(this).attr('idComment'); var content = $("#area" + idComment + "").val(); $.ajax({ url: ...
0
votes
1answer
33 views

Getting .done() of request from another function

I have a form where I load the items of the select menu with ajax. But there is also an option which fills in all selects with the change() function. But since it needs to wait for the ajax request to ...
0
votes
1answer
24 views

Multiple actions for a single <form> [duplicate]

I've a form "dataEmp" where user has to enter username and password and "submit".I have successfully sent the form data to "checkLogin.php" file but what if i want to send that same form to another ...
-1
votes
1answer
19 views

How do make wait get response for an ajax call to finish?

I want to wait for a response before the next round. Please help me. I want to wait for a response before it starts to do the job in the way that it works now without a response. function ...
0
votes
0answers
31 views

the will hiding when dropdownlist item has space

i have two dropdownlist that work with jquery ajax. when i select item from the first the second dropdown will complete with item that choose from the first dropdownlist. every thing is good when ...
3
votes
4answers
56 views

Processing json serialized form data in php

I need to store the variable from the json string with name 'msg' in my database, but I am not able to catch it with $msg = $_POST['msg']; How do I catch it correctly? Moreover I would like to echo ...
0
votes
1answer
32 views

WordPress Ajax logic

I have a problem with Ajax in WordPress. Lets say I have an Ajax script that loads .php script. I have $_REQUEST['id'] (that's WordPress post id) in that script and that's all. I can write custom ...
-6
votes
0answers
25 views

get video from youtube and category it n website [closed]

I need get video from youtube.com and categories this by type or by date how I do this ... thanks <select names="video"> <option value="sport">Volvo</option> <option ...
1
vote
4answers
37 views

jQuery Click Function Different Methods [duplicate]

Hi I have a Ajax call that I'm doing with jQuery and was wondering what is the difference between these methods on selecting an element on click, FIRST $(this).on('click', 'button', function (){ ...
-1
votes
2answers
36 views

Retrieve the path to a file after AJAX upload [closed]

I want to upload files to my server via AJAX. However, I haven't been able to retrieve the path to the file that I've just uploaded because it seems that the $_FILES superglobal is empty. How can I ...
0
votes
1answer
23 views

Why does this.id not replace the selector in $(selector).html in this script?

I am new to this programming world and what I think seems logical is not working. I am trying to get different data sources into different divs. I have looked at all the different answers listed on ...
0
votes
3answers
53 views

Form post not working

I have coded the following and its posting the data as I can see it in console. However, it does not seem to add to the database. I think it could be my condition in the process.php file for action: ...
0
votes
2answers
30 views

jQuery .css doesn't respond to loaded ajax

With all my ajax loads: the main page responds to all jQuery.css directions, but not any of the loaded ajax. Fogive this simplistic example to help make my point. It's the concept I don't understand. ...
-1
votes
4answers
43 views

How can I get “h” value from the link using javascript? [closed]

How can I get "h" value from the url using javascript? (ajax,jquery or etc.) URL: http://www.youtube-mp3.org/a/itemInfo/?video_id=p8-pP4VboBk URL Content: info = { "title" : "Laura Branigan - Self ...
1
vote
1answer
31 views

disabling weekends , holidays in jquery datepicker

I'm using jquery ui date picker for selecting the start date and end date of a leave.when a user tries to select the leave commencing date i'm disabling holidays and the leave days which are already ...
-2
votes
4answers
44 views

jQuery.get() doesn't work for me.. but .load does

I am trying to use jQuery.get(), since .load only loads the html snippet, but the jquery css isn't applied on this content. $("#content").load("home.html", function() { }); ...
2
votes
1answer
28 views

What is an organized way to run js on content load? [closed]

I am creating an ajax powered webbased application. I am using jQuery and php. As a temporary solution when $.ajax success callback occurs I load the file.php into the page and on done I run a custom ...
-1
votes
1answer
22 views

creating listview based on json response from web [closed]

I have a web service which gives me this output ...
0
votes
1answer
25 views

Codeigniter query (Update) database onclick

i am building a notification system for my project,i am more of a php developer what i want to accomplish is that when a user clicks on a notification link eg [3] means there are 3 unread ...
-1
votes
0answers
26 views

YShout 5 not working with latest PHP Version [closed]

I downloaded YShout 5 (http://yurivish.com/yshout/) I put all files on my localhost computer (latest XAMPP, Windows 7). My PHP Version: 5.4.7. I started my server and I go to: ...
0
votes
0answers
10 views

How to do Add/Update task in thickbox whose content comes from View in ASP.Net MVC 4

I am trying to show my User Edit form in thickbox and do validation/update in it. For that I created one link on page as follows: <a href="#" onclick="ShowEditForm()" ...
-2
votes
4answers
36 views

jQuery doesn't work on page loaded by ajax

My jQuery code: var menu = 0; var link = ""; var column = 2; jQuery( document ).ready( function($) { $('body').css('height', $(window).height()); $('body').css('width', 32 + (230*column)); ...

1 2 3 4 5 1006
15 30 50 per page