Hi,
I'm working on different language packs for my web app. Some of the output is generated by the JavaScript/JQuery and I can't use .aspx.resx resource files within the JavaScript. What options do I have in order to localize output produced by the client?
Thanky you
...
Hi,
Can any one suggest any way to do facebook style, news feed hide, delete, without updating the page, or redirect.
...
Hi,
When executing a ajax call i received a http error code 12019. This call works most of the time, but in rare occasions i get this errorcall. I found that this error code is described as "The requested operation cannot be carried out because the handle supplied is not in the correct state." (@msdn). Can anybody tell me what this mean...
Hi there,
I have aModalPopupExtender control inside accordin control, users can add images, that I sotre the path in databasa(sql server) and the actual image in physical address inside web server, what I need to do is to have the thumbnail image inside the accordin control and as soon as user click the thumbnail see the full size image...
My questions are:
How can I know if the AJAX is working properly?.
How can I retrieve the sent data in the controller in CakePHP?
My code is:
function checkLength(obj,url){
alert("URL="+url+" OBJ="+obj);
if(obj)
{
var params = 'query='+obj;
var myAjax = new Ajax.Request(url,{method: 'post',parameters...
I have an $.ajax() request that queries currency exchange rate information from another web server, which is the reason (I believe) for which I am getting an "Access Is Denied" error on the $.ajax() call.
Is there a way to permit this type of activity?
...
Example need for ajax, where on selecting a radio button will dynamically produce drop down
...
Hi everyone,
I programmed a CMS that has a log of who has recently logged into the system. Presently, this data is fed into a jQuery UI tab via Ajax. I would like to put this information into a sidebar on the main page and load it via AJAX every 30 seconds (or some set period of time).
How would I go about doing this? Does the PHP resp...
The problem is, that if a property is changed during an f:ajax request and a binded panelGroup should be newly created depending on that changed value, the old value is used.
This code will explain the problem.
Here is the backingbean TestBean:
public String getFirst() {
return first;
}
public void setFirst(String firs...
In visual studio 2008 load tests can I collect averages only for other than ajax calls (ones that don't have x-microsoftajax: Delta=true header)?
...
Let's suppose, for an example, that I want to partly clone Gmail's interface with jQuery Ajax and implement periodic auto-saving as well as sending. And in particular, let us suppose that I care about error handling, expecting network and other errors, and instead of just being optimistic I want sensible handling of different errors.
If...
I am using Ajax extender controls with asp.net 3.5 in particular MaskedEditExtender.
My settinngs are:
Mask = 99.99
InputDirection = RighttoLeft
MaskType = number.
I can't seem to achieve what I want which is to set the focus just to the left of the decimal point. I try both InputDirection RightToLeft and LeftToRight. They both have...
Hi all,
I'm creating a page that loads content from other pages using jQuery like this:
$('#newPage').load('example.html' + ' #pageContent', function() {
loadComplete();
});
That all works fine.
Now what I want to do is change the background image of the current page to the background image of the page I'm loading from....
So Google takes:
http://www.mysite.com/mypage/#!pageState
and converts it to:
http://www.mysite.com/mypage/?_escaped_fragment_=pageState
...So... Would be it fair game to redirect that with a 301 status to something like:
http://www.mysite.com/mypage/pagestate/
and then return an HTML snapshot?
My thought is if you have an exis...
I am looking at javascript file and they started it off as
var myPage = new Object();
var myDocument = document.all;
then there is some code. and then this part
myPage.Search = myDocument.Search;
myPage.Search.searchType = "Description";
I am using eclipse with aptana. I want to know why would someone wanna do this
myPage.Search =...
Hello guys,
I'm trying to implement Simplemodal on my website. Simple text boxes are really easy to do, but I can't find a way to have another page showing through AJAX. I know very little about Jquery and there is no documentation on how to do it, so could somebody help me? Thanks.
This is the default code of a Simple Modal box:
jQue...
I want to make asychronous get requests and to take different results based on the input that I provide to each one. Here is my code:
param=1;
$.get('http://localhost/my_page_1.php', param, function(data) {
alert("id = "+param);
$('.resul 5.t').html(data);
});
param=2;
$.get('http://localhost/my_page_2.php', param, function(dat...
I have taken a jQuery script which would remove divs on a click, but I want to implement deleting records of a MySQL database. In the delete.php:
<?php
$photo_id = $_POST['id'];
$sql = "DELETE FROM photos
WHERE id = '" . $photo_id . "'";
$result = mysql_query($sql) or die(mysql_error());
?>
The jQuery script:
$(document).ready...
I have a php script on a web server that uploads a file to another remote server via ftp_put.
How can I display the current upload progress to the user?
The only similar system I've seen is for file uploads from the user, with ajax requests to check the local size of the uploaded file on the server.
The equivalent system would be ajax...
I have a thumb gallery where I am using ajax/javascript to submit a form per image to report the image as broken seamlessly along with php. The form and script is templated so the script is in the header and then the form is printed multiple times on the same page with a hidden field with a different id for the value per thumb. So basica...