Which is faster - WebSockets or Ajax?
I bet WebSockets are much faster. So if I want to use lots of ajax continuously, WebSockets are recommended as an alternative? ...
I bet WebSockets are much faster. So if I want to use lots of ajax continuously, WebSockets are recommended as an alternative? ...
Strange bug with Safari happening when a radio button input is loaded via AJAX. The relavent code is <input type="radio" name="team" value="231" style="width:auto;" checked="checked"/>Team 1 <input type="radio" name="team" value="232" style="width:auto;"/>Team 2 When this code is loaded with plain old html, the first radio button ...
I have a problem with the way sessions and conversations are handled in Seam. We have some rather long forms where most of the time you start filling in the first screen and then some actions are executed in the background and the users leave the computer to do some work, and then later they come back and annotate the work. Problem is t...
As every web developer finds out the hard way sooner or later, IE does not apply css styles loaded via ajax. I know I could just put that css in a more global place, but I'm wondering if there happens to be some "hack" or "trick" to get around this. Perhaps there is some javascript magic? UPDATE WITH EXAMPLE: For example, say you have ...
Hello, I have a simple page which makes two JQuery AJAX calls to get parameters and then it updates a google maps Lat and Lng, For some reason after the two AJAX calls are made, the google map then seems to timeout and go Grey. Anyone ever experienced this before or have any ideas as of why it would be doing this? Thanks ...
Hi guys, I have a table that outputs all my contacts via a while loop from my database. my syntax is like this: SELECT * FROM contacts WHERE id = $_SESSION['user_id'] ORDER BY name ASC LIMIT 5 that pulls out all my data and only gives me 5 results. Now my goal is to have a little button that opens up a model box with jquery (this I...
What is the Microsoft version of an embedded Java web applet? Is there a good example of one on the web? Also, why is the dynamic web dominated by ajax and not embedded applications? ...
Hello , Was hoping someone could point me in the right direction, perhaps to a tutorial on how to create these popup drop down lists like facebooks who liked this link.. I'm assuming its jquery? Any ideas guys? ...
hi all, I am converting across an old popup system from an older app into a newer one and want to take advantage of the ajax control toolkit to do all of the popups. Unfortunately the business will require me to make the popups look like the old version (essentially just another page opened in a smaller window and showing the title ba...
i have one textfield and one show button.. i want after i have been type some string inside textfield then click that button... i can show all information from DB.. what's code to do that?? $(document).ready(function){ var oTable; $("#show").click(function(){ var params=$("#myform").serialize(); $.ajax({ ...
how do I pass multiple level array using jQuery ajax function? example of data to be passed: {"data": { "username" : "name1" , "password" : "password1" } } in bodyContent = $.ajax({ url: "somepage", global: false, type: "POST", **data:** , ... ...
I want to implement Ajax on my JSF web project. I googled and found that ICEFaces is supporting Ajax with JSF. Yet I dont know the usability of it. Any one has experience Ajax/JSF, please guide me where to move. [EDIT] If any one has experienced on similar, please share the usability as well. the good and bad.. ...
Basically, once a user leaves a webpage in my application, I need to call a PHP script with AJAX, which will insert a time spent on the webpage to the database and then leave the page. It is important to wait for the AJAX request to finish because webpages in my application are not accessible to users unless they have spent a certain ti...
Hi, The code provided below doesn't show all the content of that page. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Document</...
Result (data) looks like this: <tr> <td> Something... </td> </tr> <div id="paging">1, 2, 3... </div> This is ajax ... dataType: "html", success: function(data) { parse data... $('#myDiv1').html(data1); $('#myDiv2').html(data2); } ... Is it possible to parse data so that data1 contains table row(s) and d...
Hello, I'm practicing my jQuery skills (ok, learning too) and experienced an issue. I got a file upload form with file input. I'm using this plugin (http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Uploading) to upload multiple files at once. So I'm using following form input: <input type="file" class="multi" name="photo[]" ac...
How important is it to gracefully degrade or inversely Progressively Enhance the UI experiance? I mean am I going to lose a LOT of business if I don't? Do you practice this concept? Are there any web 1.0 users still left out there? Please could you also include if you practice this personally and how much time you've spent relative to t...
Hello, I would like to have every result of any AJAX call on ASP.NET MVC to be enveloped to a JSON object which should be like: AjaxResult { status, data } where status will contain a enumeration value describing if the call was successful, erroneous, authentication expired etc. This will enable client side code to be able to redir...
In the header region of my base template (main.html), I've placed an HTML5 media player which pulls in content uploaded through my admin interface. What I'm attempting to do is, when the tracks have been loaded once, have the media player remain unaffected by internal site navigation. In other words, the media player keeps playing but ...
I'd like to get something via Ajax and put it into What i have to return from Controler Action to put this into that DIV? Right now i had standard ASP.MVC view as result... public ActrionResult MyAction() { return View(); } and in javascript i have: $.get(<url to controler action>, null, function(data) { $(#result).html(data); }...