Hi,
When I want to change the content of an element, it works fine without effects, and does this behaviour with the effects:
changes the content to the new one
does the hiding effect, on the new content
does the showing effect, still on the new content
Here is the code that is launched everytime I need to change the content:
funct...
I have noticed that some of my ajax-heavy sites (ones I visit, not ones I have built), have certain auto-refresh features. For example, in GMail, if I get a new message, I see the new message without a page reload. It's the same with the Facebook browser-based IM client. From what I can tell, there aren't any java applets handling the se...
I have written a Greasemonkey script which manipulates the contents of certain elements with the following selector:
$("span.relativetime").each(function() { $(this).html("TEST"); });
However, sometimes matching elements are added to the page through AJAX, and I don't know how to handle those new elements. I have tried this, but it d...
And how exactly does it relate to jquery? I know the library uses native javascript functions internally, but what exactly is it trying to do whenever such a problem appears?
Thx for any response in advance.
...
What is the best way to do an internet two player card game? Currently I was intending to store the game state in the database using ajax to check on when the state of the game changes. Is there a better way to do go about this where the clients communicate with each other and not through a mediary?
...
A colleague of mine came to me with a problem on one of his projects. Unable to help him, due to my lack of experience with screen readers and the technology, I turn to you, the proud and mighty mass of SO users.
Summary for the TLDR-folks:
Our Grids in UpdatePanels aren't working in screen-readers. Might be something with the AJAX ...
Hi,
i have a problem.
in my project i have placed a dropdownlist in an updatepanel.what i wanted to do is to select a value from dropdownlist and use it in a session.
but whatever i do,it will always give me null value because of not checking "Enable AutoPostBack".and when i do this,it will refresh the page so this isnt what i wanted....
I'm playing with rewriting part of a web application in Rails + Ext. However, I'm having trouble getting an associated models' name to display in the grid view.
I've been able to successfully convert several models and arrange the views nicely using tabs and Ext's layout helpers.
However, I'm in the middle of setting up an association ...
I have a getJSON call which is inexplicably failing. The idea is, you click to submit a comment, a URL gets hit which determines if the comment is OK or has naughty words in it. The response is given in JSON form.
Here's the paired down JS that generates the call. The comment and the URL are already on the page, it grabs them and hits t...
Hello!
I'm loading external page via jquery.ajax:
$("#mydiv").load("filter.html");
content of example.html:
<div id="filterdiv"><input id="filter" name="filter" size="40"/></div>
then I want to manipulate input#filter, so I wrote in javascript:
$('#filterdiv input').focus(function(){
alert(Hello);
}
and nothing happens. If ...
Why aren't there any Javascript distributed computing frameworks / projects? The idea seems absolutely awesome to me because:
The Client is the Browser
Iteration can be done with AJAX
Webmasters could help projects by linking the respective Javascript
Millions or even billions of users would help DC projects without even noticing
Ple...
Hi,
i have a map system (grid) for my website. I have defined 40000 'fields' on a grid. Each field has a XY value (for x(1-200) and y(1-200)) and a unique identifier: fieldid(1-40000).
I have a viewable area of 16x9 fields. When the user visits website.com/fieldid/422 it displays 16x9 fields starting with fieldid 422 in the upperleft c...
I am working on a comment system on a social network, I am using jquery, I can post the comments with ajax with no problem but sometimes I need a user to submit a captcha form if they are posting too many comments or for other reasons.
I think the best way to do this is to add it into the current comment posting part, if the php scri...
Hello, I am sure there is a simple answer to this, but I am drawing a blank at the moment, any suggestions pointers would be great.
I have a php page [ lets say counter.php] which when called [loaded/viewed] it connects to a db and increments a counter.
I also have another page that has a selects box, I want to add a .js function on the...
After searching google for an answer and just starting using javascript
I could not figure this one out...
I created a form dynamically when onclick a button "Add Record" in a form.
the new form is created and assigned to a div, all good.
After rendering this form I can't get any of the values in textboxes.
while testing I tried man...
Hi all,
I am sending an ajax request on dblick for creating the image of the screen where it is double clicked.I am ising imagegrabscreen() function of PHP to create image but instead of creating its image it is creates a black image.
dblclick(function (ev,ui)
{
var response = $.ajax({
ty...
When I open my site without "www", like http://mysite.com/, then there is a problem with my website hit counter on the home page, which is done through AJAX.
The problem is that counter Image is not getting displayed.
It is showing blank.
There are similar problem on other pages where I have used AJAX to retrieve data.
...
I have create a DocumentLibrary list using the SharePoint UI and export it using the SharePoint Solution Generator 2008 (VSeWSS 1.3) to a Visual Studio .NET project.
Then I have made a webpart to show items from the document library using the ListViewByQuery with som input parameters. I have put the ListViewByQuery into a Ajax UpdatePan...
Hi MY asp.net APPLIATION dashboard, i need to provide help icon on the screen. For that i have few option as follows
I can use AJAX modal popup and register usercontrol having help content and show it on modal popup control on click of help button
I can use javascript buble tooltip for help on mouse over/enter of help icon.
Can you s...
Please have a look at this code -
When I click on myLink I get a modal dialog window which shows the html as defined below. This html includes a button (id=test_button), and when I click on this button I want to do an ajax request.
But its not working. So to test it I am just doing an alert but it wont work as well.
Also will it be p...