I have a list of elements that I am loading via ajax (using jQuery's .load()). Each of these elements has an (edit) link next to it that lightboxes (using colorbox) a little edit form. When the lightbox is closed I use the onClosed callback to reload the ajax list to show and changes made during the edit.
The colorbox call looks likes t...
I have a previously working ASPX website which also supports AJAX. However, we just upgraded our SQL Server from 2008 Evaluation to 2008 R2 version 10.50.16 and now this website is no longer working.
I believe the problem is that now we need to again restore original SQL accounts and settings prior to this upgrade. This website also us...
I am building an message board application using Javascript and PHP. When I try to load a php script via Ajax, I get a 500 internal server error. If I load basic text instead of php, the Ajax call works fine and the text is displayed.
Anyone know why the server would have trouble with this?
Here's my php file:
<?php
//Get input f...
I am using slideUp and slideDown in the beforeSend ajax event which works fine is firefox, but in other browsers, the ajax postback seems to complete before the slideUpDown has completed so my success function is executed first, then the slideUp/Down.
How can I change it to either (1) not send the ajax until the slideUp/Down have comple...
I am trying to grab some data via JSONP. Using Firebug, I am able to see the data properly being returned, but I am having a hard time thinking how I have to parse it. The data return is really a nested array correct? someFunction is the name of the callback function. This is how the data looks:
someFunction([
{
"title":"Sa...
Hi.
How would I go about uploading files to S3 from a Google Web Toolkit page? Ideally, it would all be done asynchronously, allowing me to display a progress bar.
...
I am writing an app for the iphone that fetches weather information based on location. The weather feed works fine for a set location. I have created a parser that fetches gps coordinates based on a programmed called instamapper which posts coordinates online in csv format. I can execute the code fine in IE within a HTML file and see my ...
Hi, I got a weird problem, here is the snippet of my code,
View 1:
<%= javascript_include_tag :defaults %>
<% remote_form_for (@group, :group, :url => { :action => 'addgroup' }, :update => 'activitypage') do |form| %>
<%= submit_tag "Add!", :class => "submit" %>
<% end %>
Method 'addgroup',
def addgroup
##<some code her...
How do I quickly develop a sortable, paged data grid of a MySQL table in PHP/JavaScript?
If the grid could sort/page and download data via AJAX it would work better, of course :)
I could develop it manually using AJAX to update the datagrid on sort/page navigation, but I was wondering if any datagrid components already existing that wo...
I have what is essentially a form, only the fields depend on the previous selections, and the type of form object aren't always typical form objects.
For example, the first choices are simply in the form of links. It could be a list of teachers, where when you select a teachers name, the classes that teacher teaches is then displayed in...
I have a cForms II contact form set up. It works perfectly if I just want the results emailed to myself (default behavior).
I now have a custom PHP file that will take the POST data from the form and submit it to an external database for me. However, when I set the Alternative Form Action page to this PHP page, clicking the Submit butto...
Hi,
I have an ajax tab container in an aspx page. Earlier I had 2 tab panels in the tab cotnainer. Now I want to add third tab panel. I could add the third panel but I am able to access the third panel, i.e. When I click on third panel, the panel is not shown(I didnt even get the handy cursor when i place the cursor on the third tab pane...
I am writing a JSF 1.2 Application in Apache My faces. I cannot use any customized component library - like tomahawk or a4j and others. Is there a way to call an action method of JSF using Ajax? When the JSF action is done , I would like to handle the response of the JSF action by Javascript and populate a DIV Tag in the Client side ? Is...
to clarify you know when your on twitter and you get an update telling you have 2 new tweets, i got the ajax referesh page bit sorted but how do i catch the new update and count them!! if i make sense sorry!!
help will be appreciated
cheers!
kindest regards
Solomon saleh
...
i have a menu with 3 links, when the user clicks on a menu link i want the page to load on a div on the same page using jquery, im using php and mysql!
thank you!
...
Been stuck on this for the last hour. It was working fine a while ago and I can't tell what's causing it to abort... It works fine in IE and Chrome.
Here's my code:
http://pastebin.com/Su1y2TTZ
Does not get past line 10 in FF, and shows no errors. The getvalue.js file starts on line 125.
Need some urgent help... Any ideas?
...
problem: on ff the form submits to the original window which causes a refresh. on ie and chrome works fine but after the upload somehow the form's target attribute was set to "_blank"
the form just won't submit to the iframe transport, i checked the target attribute and everything and all goes find, even rollback to the previous working...
Hello All,
I am using Apache Tomcat 6.0 as my development server.
The problem that i am facing is that my application works very well on my development environment, but when i move it to staging the XHR is always picked up from cache except for the first time. I verified this using HTTP Watch and fiddler.
Can someone Please help me in ...
As far as I understand, the crossdomain.xml file technique for crossdomain XHR is based on Flash. This settings on the server allows Javascript code from the client (using flash) to bypass the Same Origin Policy.
I was wondering if that technique doesn't work any more in iPad devices (since they don't support Flash). Does this also impl...
Hi guys,
I have implemented a list created by a repeater:
<ui:repeat value="#{projectData.paginator.list}" var="project">
<h:outputText value="#{project.title}" />
</ui:repeat>
and a Button that filters my list:
<h:commandLink action="#{overviewController.filterNew}">
<h:outputText value="Filter List" />
</h:commandLink>
So, is ...