If you want to recreate the error go to www.tlcnz.com and click on the contact us link in the horizontal menu under the masthead. In the interests of the site not being totally non-functional I have removed the query string entirely from all the other other links and replaced them with individual files for each one - except for the link...
I want to read in real time the output of a subprocess called from a form in a view. Here is my views.py:
@login_required
@condition(etag_func=None)
def sync_form(request):
# do things to validate form
return HttpResponse(sync_job(request, job_id, src, dest))
def sync_job(request, job_id, src, dest):
# we check the argument...
Hello all,
I'm trying to send some data in an Ajax call to update a record in the server
var OrderNotes = $.ajax({
url:'AjaxActions/OrderNotesUpdate.aspx?OrderID=' + OrderID + '&Notes=' + $('#txtNotes').val(),
async:false
}).responseText;
"Notes" are in unicode.
When...
I have a button that performs an ajax post -- I want to disable the button, then perform my work, then upon completion -- I want to re-enable the button. My interaction includes swapping out the image button (to a grayed out image button), and presenting a spinner. When complete, I hide the spinner and restore the original button image. ...
Platform: ASP.NET 3.5, ASP.NET Ajax intermixed
I'm very green to jQuery, so have been having a hard time with what I assume to be trivial.
All I need to do is create the following scenario
user logs in to my site, and I take him/her to a 'dashboard'
I want a nice little bar to 'fade in' with some information I want to draw his/her at...
I am using jQuery form plugin in my MVC project for image uploading.
The image upload works perfect in Chrome and firefox, however when it comes to IE 8.
Not like Chrome, instead of returning json data which is later consumed by post-submit callback, in IE 8 it returns a txt file and ask you whether you want to download. and in side th...
Yes, i have a normal ajax call that calls imback.php, that checks for new stuff if you have been blur for 50 sec.
Now if you disconnects from the internet, and when you get on focus, it will not be able to get imback.php.(i think its 404 error) So i would like to make a offline msg/timeout thing, so it alerts "You have no internet conne...
i'm using jquery to invoke JSON-requests and they're triggered form a bunch of autocomplete-fields. I use wildcard-selector and now need to find out which ac-field that fired the event.
...
$( "[id*='_lookupCmb']" ).autocomplete({
source: function( request, response ) {
$.ajax({
...
...
select: function( event, u...
I found this:
Use Python output:
print ‘Content-type: text/x-json\n\n’
print json.dumps([{'title':arr['title']}])
and get json string with Jquery:
$ajax(
success: function(msg){
if(msg[0].title) alert(msg[0].title);
}
)
It works, who can tell me why it is? Thanks~
...
I have an application that uses a mobile ad provider; the way ad provider works is that I make a request on the server side, the provider returns me the mark-up and I include that on my site.
In order to make the load page faster (which is a requirement that I don't control), I have an AJAX call to my server which then makes the call to...
Hello,
I work on MVC.net application. I make asynch requests to my controller via jQuery. Below you can see these requests in fiddler (all of them are fired in a specific sequence).
num result protocol Host URL
2929 200 HTTP somesite.com:1936 /DynamicTables/SaveCurrentRowsState
2930 200 HTTP som...
Hi,
I have a working paginator. I combine Zend Paginator and jQuery to switch between pages. My problem is that the page links only have a range from 1 to 10 but it should be e.g. from 1 to 13. I can get to page 13 by clicking the forward button but the page link 13 is not displayed.
Paginator setup:
$paginator = new Zend_Paginator (...
I have the following which works but when the user presses 'more' <a> tag (although styled as a button) it then puts a loading gif inside it but from the time the user clicks the button to when the image appears is noticeable. Almost 1 second which makes it look ugly.
It looks like it removes the inner HTML has a think and then populat...
The problem is in the difference how browsers implement simple calls. The problem occurs while using colorbox extenstion (facebox variant). Content is loaded into colorbox with jquery load() function.
When the call is made by Chrome, Accept header is set to:
Accept: text/html, */*, text/javascript
In case of FireFox, header looks lik...
I declared global variable in js file which is filled after jquery.ajax call. Everything works fine when I put breakpoint to see if the global variable has its value with Firebug, I can see it, no problem. But when I remove breakpoint and try again, error with variable 'undefined' shows.
I also tried to put result into hidden field and t...
Why http://jsbin.com/ogilo/3#http://bit.ly/cKnMc2 has 2 ajax GET requests instead of 1 request?
It has requests http://bit.ly/aHW5jy and http://bit.ly/cKnMc2 one after other.
It must have just 1 request.
Editable code in http://jsbin.com/ogilo/3/edit
You can check the bug in Firebug console
...
hey all
in brief, i have an application X that uses another application Y in certain cases.
X in on an apache server, Y is on a tomcat server.
i have a button in html file in Y which calls a js function StopApp().
This function StopApp() calls the script "StopApp.php" which is on X.
so what i did inside StopApp() is sthg like
functio...
Hello There,
I am building a dynamic form in that the user can keep adding entries until they satisfied, to do this, I use this javascript, to pull in some html,
$('#add_another').click(function(e){
$.get('/admin/add_grade_course', function(data) {
$('#added_by_ajax').append(data);
});
e.preventDefault();
});
The...
Okay I have the below code, which will allow me to either click the link or hover over the link to show the pop-up. I would like to be able to edit it to make it open on page load. I would also like to be able to have it open only once per visitor per week.
I am new to this so any help would be great!
Thanks
<head>
<style type=...
I have multiple update panels with various asp buttons on a single page. I want to disable the buttons which caused the postback in update panel untill it completes.
Is there a way to avoid using a third party control for this? through JQuery or any other method ?
...