I keep getting a 405 Method not allowed. The script is hosted on same port as server, using IIS.
<script>
function auth() {
var str= '{"Password":"Password","Username":"Username"}';
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: "http://127.0.0.1:8080/auth/authenticate",
data: s...
Hey everyone,
I was hoping someone could nudge me in the right direction. I'm using the jQuery plugin simpleAutoComplete to enhance my search form with an autocomplete functionality. Basically the search functionality allows users to search for capital cities in the world. I have it designed so that my handler file returns the City N...
I have an Ajax request:
$.ajax({ url: "MyPage.aspx",
data: params,
success: function(data) {
// Check results
$('#testp').append(data.message);
enableForm();
},
error: function() {
alert('Unable to load the permissions for this user level.\n\nYour login may have expired.')...
I have an application where the html/javascript code executes fine in a standalone browser safari, but when the ajax calls are executed in PhoneGap, they all fail with the Network Error 101.
I am requesting XML documents
...
This is for an enterprise web application.
We are building a front page/dashboard that queries our database for live statistics. The page has 3 update panels, each update panel has a user control that pulls data for it's box. Lets call the user controls UC_NotStarted, UC_Active and UC_Finished.
We have built the queries that return the...
Hi All,
I have a web app that is in queens engrish but the chrome translate bar pops up and tells me that its in Estonian.
I have tried lang and xml:lang but the google translation bar seems to ignore these.
Note: The web application is totally Ajax and the content that causes the bar to pop up is dynamic content that can appear long ...
Hi There,
Im trying to find some software to help me upload really large files (>200mb). I only want to upload a single file, no multi-options. Also i would like a simple progress bar if possible.
I have come across http://pixeline.be/experiments/jqUploader/ which is literally what i need but it has a limit of 100mb per file, because i...
I'm having some problems displaying error messages that are being passed from a php file through an ajax request.
The problem is when I receive less than 3 errors messages that are supposed to be displayed in an unordered list. I don't want to display any "undefined" variables - that's why I'm not adding them to the unordered list throu...
I am using asp.net calendar with ajax extension in my project.
I want to restrict users from selecting current and old dates in the calendar when they are selecting Next appointment using the calendar.
Help me please.
...
Hi guys, like the title says, I am trying to create a drop down menu using jQuery, JSON and AJAX, although I am familiar with the theory I have yet to put it into practice, any advice, demo code snippets or tutorials would be appreciated, since I would like to get off to the best possible start!
Thanx in advance!
...
This is the particular webservice code where i retrieve the username ,how i can i write c# code to place json data to sql database in webservice and display the acknowledgement in html page
public class AjaxService : System.Web.Services.WebService
{
[WebMethod]
public bool CheckUserNameAvailability(string userName)
{
...
I'm working on a sortable table, that is refreshed asynchronously when the column headers are clicked. The parameters determining the column I'm sorting by and the direction are stored in the query string. The first time I click the header, the table is sorted by that column ascending, the second time it's sorted descending. But the thir...
Hi!
I have a page with a form. Using the data from the form I get information from a BBDD and I displayed in a panel using Ajax.
Now I was trying to use a AjaxLazyLoadPanel, because some of the query in the BBDD are heavy. The problem i have is after the first load of AjaxLazyLoadPanel, i dont know how to reload it with the new conten...
I have a cron job running searching Twitter every 5 minutes, each 5 minutes the results of the search are written to a database.
Im surfacing the twitter search results in a simple HTML list.
What I would like to do is load any new search results at the top of this list every 5 minutes.
Can any suggest how I might go about doing this...
Hey All
Not quite sure how to do the following and hope you can advise.
I have a dialog which opens up a page through ajax. I would like to somehow once this dialog has finished loading trigger an event which then will perform some other action.
Can anyone advise on how to do such a task.
Hope you can help.
Lee
...
I want to lock other threads when one thread is running. It is possible in .Net with a lock object. I need do the same in AJAX.
function f_OrnekleriGetir(bKaydet) {
var ddlKlinikId = "<%=ddlKliniklker.ClientID%>";
var iKlinikId = $("#" + ddlKlinikId + " option:selected").val();
var arrOrnekNolar = new Arra...
There is one more parameter to send with the request.
So this is my code so far:
$.post(url + "/SaveProfile", { xml: XML, configName: name}, function() {
alert("Saved");
});
I got this error :
A potentially dangerous Request.Form value was detected from the client
...
I have a setup where I can upload many pictures at once inline and it looks like this:
This works perfectly. And I can also reorder them with jquery sortable
Here is the related code so you see what's happening:
class PhotoInline(admin.StackedInline):
model = Photo
extra = 0
form = PhotoModelForm
fieldsets = (
...
Hi,
I'm new to cakePHP but am close to quitting using it due to my inability of getting jQuery to work with it.
I'm using cakePHP 1.3 and so thought the Html and Js helpers had made Javascript and Ajax redundant but I can't really find any help/api documentation on how to use Js that is sufficient.
All I'm trying to do first of all is...
I find myself having to get around waiting for AJAX in jQuery often these days. Problem is, I have to do loops and crap to wait for them. What are some ways that I can wait for the AJAX event to finish before executing code (preferably without making extra functions)?
...