Possible Duplicates:
Notify panel similar to stackoverflows
How to show popup message like in stackoverflow
How does Stackoverflow do the "You earned a new badge" window? (the orange one that pops up at the top of the screen, I believe its the one that shows you the FAQ when your not logged in).
Anyone have a code sample to ...
Hello,
My question is that I want to know what the difference is in the ajaxcall below
If I substitute complete for success
I get an empty responseText as the error says
and with complete it works like it is supposed to
Is it that success returns sooner then complete??
$("#formnaw").submit(function(){
var fnc = invoerFnc.attr("...
I am using jquery's "$.post()" function to add a list entry to the mysql database, in php.
$(document).ready(function(){
$(".theSubmit").click(function(){
var content = $("textarea").val();
var listn = $("input[name='list_name']").val();
var groupn = $("input[name='group_name']").val();
$.post("/sec...
Hi guys, my XAMPP is activated but the Ajax scripts are not working. It should really work because I got it from a book and double checked the codes and the connections for the database but it didn't work.
Whats the problem anyhow?
The code is located on Chapter 5 http://www.myphpbook.com/download
I just started to programming so I do...
Here's my code:
$(document).ready(function () {
var default_var = 2;
var show_var = default_var;
var total_var = 8;
var increment_var = 2;
var start_var = show_var+1;
var end_var = show_var+increment_var;
$("a[rel=more]").live("click", function(){
$("#timeshare-listings li:last").after("<li class='aj...
IE is having diffculty with dynamic urls in the jQuery load function.
Here's my code snippet:
var formValues = $('#testing').serialize();
var URL = "test.cfm?" + formValues;
var dialogOpts = {
modal: true,
bgiframe: true,
autoOpen: true,
height: 500,
width: 500,
draggable: true,
resizable: false,
...
So, I want to create some Silverlight charts from some data on my ASP.NET web page. The way to do this, either using Visifire (my current thing) or the upcoming Silverlight charting, seems to be to create some XAML, or at least some Silverlight objects (like in this Visifire sample), and then stuff them into the page somehow.
Strangely,...
Hello
I want to implement file uploading with behaviour which is commonly seen in various kinds of webmail interfaces. I mean here that attachment (one or more) are selected by open file dialog and then their names are apearing under (for example) text area with body of message. And there is only info that attachment is added and it be ...
There is an undefined error due Ajax request in jQuery. But it works locally. Error referencing in jquery1.3.2.js @ 3633 line
xhr.send(s.data);
My code is:
$.ajax({
type: "POST",
url: 'index.php',
data: "action=showpath&type=images&path=&default=1",
cache: false,
dataType: "html",
success: function(data){
$('#addr').h...
Hi,
I am using the ajax uploader
and the Zend Framework.
The Problem is when I am using the json response for the onSubmit.
With $this->getHelper('Json')->sendJson($data);
I only get a saveas dialog.
The problem is that the uploader expects every responste to be "text/html" but the json helper sends "application/json" as mimetype.
Wi...
I'm implementing a "Google Suggest" like autocomplete feature for tag searching using jQuery's autocomplete.
I need to provide a web service to jQuery giving it a list of suggestions based on what the user has typed. I see 2 ways of implementing the web service:
1) just store all the tags in a database and search the DB using user inp...
Hi,
I am using Ajax tab control.
but occasional it gives following java scrript error
"unexpected error."
when trying to access "document.activeElement"
this error found in "script resources.xsd" file.
how to resolve this error.
...
Hi,
The following AJAX code seems to be working fine in IE but not in Firefox. I guess the problem is in the function getElementsByTagName(). I have no idea as to how to solve this problem.
AJAX code: http://docs.google.com/View?id=dfv8mm9q_28ff5qrwht
Regards,
Ashish.
...
What is the best way to refresh a Tapestry zone on a regular basis to pull changes of a dataset from a server?
...
Hi!
I am developing an application but I am having problems to get it to work in Firefox. The application recieves javascript calls from educational applications (websites that are showed in shared window) and it is supposed to return values from a .net webservice. The values must be returned in the same function that recieves the call....
Hi,
I am working on CascadingDropDownExtender in AJAX. When I run the sample, I am getting “[Method Error 500]” in the Dropdowns. I wrote a Web Service (carService.asmx) to get the values from the XML (carService.xml) into the Dropdowns. Even the Web Service is not invoking correctly. When I run the Web Service, an XML is generated with...
Is there any difference in using one over the other?
Should I be retrieving data from a database using web services? Or is it better to call methods from code-behind (or somewhere similar) with ajax to retrieve data?
...
I have the following
$.ajax({
type: "POST",
url: "qry_invControl.cfm",
data: "p_sales_price=" + input.val() + "&action=getCashPrice",
cache: false,
success: function(data) {
$("#cashPrice_"+num).html(data);
}
});
I need to modify my qry_invControl.cfm to return other st...
I write in .NEt and in classic ASP. I want to create a modal popup in asp. I like in .NET how the parent page can be disabled and turned a different color. Is this possible in ASP? Or is there no easy solution to get this done? If possible...how?
...
Hi all.
I have many forms that use AJAX (w/ jQuery) for validation and data submission. When a form is filled out correctly, I use window.location to redirect the page after I get an acceptable response from the PHP script. On the new page, I use a session variable (set after the AJAX calls) to display the appropriate content. Please...