ajax

What is the best jquery validation plugin?

That has reg expression checks for phone, zip, email. Comparison checks for email and password. Bonus: masking and forcing letters and numbers only options. I would like one that works well with this: http://www.malsup.com/jquery/form/ This is a multistage sign-up and would work when step 1 is complete(the form) it would send it to the...

Looking for a good Mootools Javascript tutorials

I have been very impressed by the Mootools AJAX sites and demos and I want to learn it so that I can use it on my sites. But I havent been able to get any good tutorials which teach it from the very basics. Can someone give me some pointer/links to some sites? Thanks ...

Form submit in DIV using jQuery

I'm referring to a problem similar to the one in this post, because the solution described there doesn't work for me. The starting point is a HTML page (called profile) with jQuery UI tabs: <div id="tabs"> <ul> <li><a href="#realtab">Foo Bar</a></li> <li><a href="?cmd=changePassword" title="pwd-settings"> ...

Generating lists: javascipt function with a multiple conditions

You don't have to be familiar with spry syntax but I'm using SPRY (AJAX widget) and trying to write a function to handle multiple conditions. spry:when="{ds_CurrentRowNumber} == {ds_RowNumber} && {ds_RowNumber} < 4" I'd like to turn this into a function that generates a new ul tag in the same div every 4 li tags like: <ul spry:re...

Javascript and AJAX, only works when using alert()

Hello everyone, I am having trouble with my javascript. It seems to be acting oddly. This is what's going on. I have a form, after the user submits it, it calls a function(onsubmit event) to verify the submitted data, if something bad OR if the username/email is already in database(using ajax for this part) it'll return false and display...

Configuring WCF for Web Browser Access

I'm fairly new to WCF but am technically competent. I am having trouble getting WCF to play nicely. I currently have a WSHttpBinding set up to a service and it is working when using the WCFTestClient supplied with VS2008. What I would like to do is have the service accessible within the browser. I currently return a JSON response from ...

How do I submit a form using jquery (ajaxForm plugin) to an external site but not reload to a different page?

Hi, I'm trying to create a form that sends the customer's name and email address to icontact (an email list application). All the values are correct for icontact and if I submit the form as usual, icontact responds that it added the email address. The success message loads in a new page from icontact's website. What I'd like to accomp...

MicrosoftAjax.js, SOAP Web Services, and static HTML

What is the proper way to call a ASMX Web Service with MicrosoftAjax.js if your just including the JavaScript in static HTML? What I have so far: <html> <head> <title>Testing</title> <script type="text/javascript" src="scripts/MicrosoftAjax.js"></script> <script type="text/javascript"> function testCallSoap() { ...

Kohana -- User Registration Runtime Error (auth)

I'm implementing the auth module in Kohana, and I can't seem to figure out the source of this error message--it happens when I submit a registration form that creates a user in the database (which it successfully does). An error was detected which prevented the loading of this page. If this problem persists, please contact the websi...

set Request Header in javascript

it seems that I am unable to change most requestHeaders from javascript when making an ajax call using XMLHTTPRequest. Note that when request.setRequestHeader has to be called after request.open() in Gecko browsers(see http://ajaxpatterns.org/Talk:XMLHttpRequest_Call). When I set the Referer, it doesn't get set(I looked at the request ...

Scriptaculous Ajax.InPlaceEditor: How to trigger cancel action?

Certainly it must be possible to fire the cancel action on an Ajax.InPlaceEditor without clicking the Cancel button. But I just cannot figure out how to do it. Any suggestions? ...

How can I see all results from a jquery Ajax response?

I am trying to make an Ajax call with jquery, if I put an alert in the success part, it launches the alert, so I know the call is working and there is no errors but if I try to u a value returned from the Ajax call it is null, I would post code but I'm on an iPhone. How can I basicly see all the results returned? Basicly what php's pr...

monitor traffic to and from my pc

I want to see each url request made my by browser. I want to see the url requests made by ajax. Which software should I use? Some java code would also help. ...

SlideShow Ajax Control is not visible in Firefox 3.0.x

If you have ff 3.0.x, there seems to be problems using ajax. In one of my projects I had this problem and the resolve was to upgrade firefox to 3.5.2. ...

refresh the div tag on click of the delete record

i'm using the prototype.js , PDO , PHP. i want to delete the records with refresh using ajax index.php <?php if(!isset($studentVoList)||count($studentVoList)==0){?> <tr><td colspan="3" align="center">No records found.</td></tr> <?php } else { foreach($studentVoList as $studentVo) { ?> <tr> <td align="center"><?php ech...

Returned value from first Ajax call is not shown in the second ajax call

Hi, I am new to JQuery and Ajax I am trying to use the value returned from the Ajax call to the another Ajax call. Example: $.ajax({ type: "POST", url: "http://localhost/FormBuilder/index.php/forms/saveForm/", async: false, data: "formname="+formname+"&status="+status, success: function(msg){ //alert( "Data...

How to get a Struts form bean in an Action class using AJAX

Hi guys, I'm currently developing with Struts 1 a web application. I've recently started to use AJAX technology and I'm stuck with something. I call an action method (via AJAX) to validate my form but no values are changed in the form bean when it gets to the action method. I suppose this is because calling the action via AJAX doesn't ...

How to get the value of the input element of live of Value

HI, i am having a Input hidden element like in my JQuery i am setting the value for the above input type after some ajax call like EDIT::: $.ajax({ type: "POST", url: "http://localhost/FormBuilder/index.php/forms/saveForm/", async: false, data: "formname="+formname+"&status="+s...

.ajaxComplete keeps stacking up

Hello again, I've discovered something interesting. I'm using ajax in a carousel structure to add more items to the end when needed. And it seems to work just fine. This would be the ajax call inside a function called ItemLoad(): $.ajax({ type: "POST", url: ajax_url, data: args, success: function(resp){ $('#du...

Problem with DWR and Android-Browser

Hello everyone, I am experiencing a problem with accessing an application from the Android-browser. The application uses DWR to persist connections to the clients that are connected with it. Everything works fine for me, except that if the application does not send any data to the client on the Android-phone for 2 minutes, the connecti...