ajax

AJAX SlideShowExtender control with extra functionality

I want to create a slideshow similar to one on www.nbc.com, where it has control button for every image that you can use to move between pictures. They use flash , can it be done with asp.net and standard AJAX SlideShowExtender ? If not what can you suggest(please no 3rd party controls) ? (They also have animated text next to the image...

After dynamic filling of <label text="DYANMIC"> DYANMIC</label> cannot retrieve the text again..

I am dynamically filling the label4.text.. I hope to retrieve it for updating in the dbms <asp:Label ID="Label4" runat="server" Font-Bold="True" BackColor="#E3EAEB" Height="25px" Width="300px"><%=Application.Get("topic").ToString()%></asp:Label> In the above code I need to insert text="<%=Application.Get("topic").ToString()%> in th...

Ajax.net update panels not working on mozilla firefox

Don't know why, but when making the postback for the control to update the ajax updatePanel it actually does the full postback of the page, it works fine on IE however with mozilla it reloads the whole page. <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:Panel ID="userLogin" Visible=false runat=...

Ajax Form Validation Problem

I've got my form validation almost working but I can't seem to figure this last problem out. I'm trying to send back error messages and position them in their own div next to their relevant form fields. I've got an error message coming back in its own div, but when I try to send multiple messages back nothing happens, any thoughts? He...

Implementing "searching for ___", "no results" and "search for more results" for jQuery & autocomplete plugin

Hi -- I'm trying to add a function that will display when the AJAX is working, as well as when there are no results. In additionn, when there are many results, I'd like for there to be a link at the bottom of the dropdown to click to see the full search results page. My current code looks like this: <script> jQuery(documen...

ajax post to SharePoint web services interrupted by ntlm challenges

I've got a web part that uses javascript heavily in the implementation of a UI. It also makes use of asynchronous XmlHttpRequest requests to some of the SharePoint web services (I'm using SPServices, btw). For some requests, the user is confronted with NTLM authentication challenges, and after entering credentials, the request complete...

passing null values from ajax to phpscript

Hello, I am having some problems with null values Is there a good way of passing the null values from js in a way that they are interpreted the same. This apparently is not the same ajaxNullVar = null; post_var = {'action': 'update_foto','fotoid': fotoid, 'ajaxNullVar': ajaxNullVar }; $.ajax({ url: post_url, ...

jQuery / AJAX / PHP form "working" but not delivering emails

It's not a problem with my host or the email account it's supposed to be delivered to: these things I've narrowed down. The form worked perfectly for one day and then stopped, without any changes to my code. Does anybody have any input on this? My code: Plug-In: http://www.stephaniehenderson.com/jquery.form.js In the head: <script ty...

Problem with jQuery Ajax...how do I update two DIVs with ONE ajax call?

function ajaxCall(query){ $.ajax({ method:"get", url:"/main/", data:"q="+query, beforeSend:function() {}, success:function(html){ $("#main").html(html); } }); }; This is the entire code that will populate #main: <p>{{ num_results }}, you just searched for {{ query }}</p> Suppose I have another div...

jQuery Ajax SyncLock

I have a couple of buttons that users can click to load content with jQuery's $.ajax. All the buttons load the content into the same div tag. The problem is that if users click multiple times quickly, the content can flash several times before landing on the correct content. What workaround do I have for this? I was thinking of somethin...

Loading more comments using AJAX in Rails

I am currently implementing a blog-like site using Ruby on Rails. Each "Post" has some comments. Currently I only have the latest 5 comments load, but I want to implement a hyperlink that would load the rest of the comments. Unfortunately with my current implementation, all I get is a bunch of junk spit out. Before Comments Posted ...

[solved] PHP trouble with concurrent sessions and AJAX

I have a session handler class that calls session_write_close() at the end of the script. This insures that even if a header() or exit() is issued the session data is saved. public function __destruct() { session_write_close(); } However, I have noticed that for one of my AJAX pages TWO session updates are committed by the databas...

Reterival of records in Html form throug Ajax

Sir could you help me to speed up the posting and retrival of recoord from Html to MySql and vice versa following is the Php coding Thoug it is working but is very slow var strtopictype,strtopicstatus var indxtopictype; var indxtopicstatus; var indxchostopic var msgid; var rindx; var loc; var indx var topid; //document.getElementById...

Retreiving two values for ajaxForm(), using jQuery and PHP

Hello, I want to pass both the values using ajaxForm, displaying both the values separately in test.php -------test.php----------------------------------------- <script language="javascript" type="text/javascript"> $('#test_form').ajaxForm({ target:'#result', success:function() { $('#result').show(); } }); </sc...

Writing a web application gui. Which technology should I use?

Hi, I would like to write a somewhat complex web gui application. It will be used to edit certain content by displaying panels and allowing the user to drag items to edit the content. The explanation is somewhat abstract, but the point is that i'm looking for a modern gui writing technology, the more standard it is the better odds of m...

jquery multiple ajax check for all done? (order not important)

Is there a neat way to make sure a bunch of ajax callbacks have all finished? They don't need to be executed in order, i just need all the data to be there. one idea is to have them all increment a counter on completion and check if counter == countMax, but that seems ugly. Also, are there sync issues? (from simultaneous read/write to t...

Is there a way to transform a string from JSON into a DOM structure?

The Problem is: I get the following structure (generated in PHP) sent via JSON as a string. <article> <header> <h2><a href="#">url</a></h2> <p><time datetime="2009-11-05">05 Nov 2009</time></p> </header> <div class="entry"> <p>something</p> ... </div> <footer>something</footer> </article> I have a list of arti...

Using Html.RenderAction and Ajax.ActionLink together.....

when i do this, i get the ACTION being called TWICE, what should i do about this? if i call html.partial instead to just render the control, then i need to specify all the objects/values manually, which i shouldn't need to do this as the ACTION itself takes care of this stuff. i maeks sense to have both these work together but they don...

process RSS feeds with AJAX and javascript only

Hi Is it possible to connect to an RSS feed, retrieve the XML object then parse and display it all within client side javascript/ AJAX? Thanks, ...

ClientLogin from Google API doesn't works with AJAX

Hi, I'm trying to login to a Google Account for request Picassa Web photos with AJAX. That's the code: xmlhttp=new XMLHttpRequest(); xmlhttp.open("POST","https://www.google.com/accounts/Login",true); xmlhttp.send("accountType=HOSTED_OR_GOOGLE&Email=...&Passwd=...&service=lh2&source=prova"); document.getElementById('prova').innerHTML=xml...