facebook status bar
anyone know a good tutorial of how to make the status bar found in the new facebook? the one on the bottom. looks really cool i was thinking it was written in either ajax or jquery. but not sure. ...
anyone know a good tutorial of how to make the status bar found in the new facebook? the one on the bottom. looks really cool i was thinking it was written in either ajax or jquery. but not sure. ...
I'm seeking a javascript history framework to handle navigation inside a page when the user selects multiple options which change the page behaviour. There are multiple artefacts on the page that change the data loading of the page and I'd like to store this as a stacked set of behaviour. In a wider sense, I'd like to add this as a tool...
This is not a question - posting it here for reference: When consuming a WebService, I got the following error: Request format is unrecognized for URL unexpectedly ending in /myMethodName ...
<li> is kept by the set_input() function, After getting data by using a getJSON(). But even bind function is not working. could anybody pls help me! $(document).ready(function() { $.getJSON("sample1.php?", function(data){ $.each(data, function(i,j){ testA[j.id]=j.name; }); set_input("div_1","continent",testA); }); ...
Hi all, I'm coding an italian website where I need to validate some input data with an xhr call. My code for the ajax request's like this (I'm using JQuery 1.3.2): $.ajaxSetup({ type: "POST", timeout: 10000, contentType: "application/x-www-form-urlencoded; charset=iso-8859-1" }); $.ajax({ url: "ajaxvalidat...
I need to calculate if someone is over 18 from their date of birth using JQuery. var curr = new Date(); curr.setFullYear(curr.getFullYear() - 18); var dob = Date.parse($(this).text()); if((curr-dob)<0) { $(this).text("Under 18"); } else { $(this).text(" Over 18"); } There must be some easier functions to use to compare dates...
Hiya, A site I need requires a check on the user when they click links which will take them to external websites (don't ask why, it just does..) The client wants some sort of popup box which will then have "do you really want to go?" along with 2 buttons for yes or no. Now I've done all this in the classic browser popup so far, as it...
I've got working Jquery code to fade in/out descriptive text in a div below the question. The problem? The solution is not very elegant. Here's what I've got: $("#home").mouseover(function() { $("#homeText").fadeIn("slow"); }); $("#homeText").mouseout(function() { $("#homeText").fadeOut(); }); I know there is better way to do ...
I would like to add a popup message like the one that appears on stackoverflow when I am not logged in and I try to use voting buttons. What is the best method for achieving that? Is it done using a jquery library? ...
I watched a pdc session by Stephen Walther and in the presentation he was referencing the JQuery js file like the following: <asp:ScriptManager id="sm1" runat="server"> <Scripts> <asp:ScriptReference Path="~/Scripts/JQuery.js" /> </Scripts> </asp:ScriptManager> Is there a advantage or disadvantage to doing it the above way instead...
I'm using jQuery 1.3.2: <script src="../../Scripts/jquery-1.3.2.js" type="text/javascript"></script> I've got the following html: <div id="container-div"> <div id="package_1"> <div>Package_1</div> <div id="package-content"></div> </div> <div id="package_2"> <div>Package_2<...
Do I have to do anything special to my controller action method to accept/bind data from a .ajax() call? Controller Action - public class TestController : Controller { public JsonResult GetTestJsonData(Metadata data) { return new JsonResult { Data = data }; } } JQuery Call - <script type="text/javascript"> $(...
I have an h2 element with an id of title and I have the following script: <script type="text/javascript"> $(document).ready(function(){ $("#title").css("background-color","red"); )}; </script> The background-color is not changing though and I can't figure out why? <html> <head> <title>Table Sorter</title> <script type="text/j...
I've been building an iphone optimitized version of my site, and have been trying to get animations to work/transitions to work. I looked at iui/ciui,etc.etc. but they seem like overkill for what I need. I'm using jquery and have most of the functionality built, except that I couldn't get .animate to work smoothly, so I'm trying css tr...
I'm having a problem getting a controller method that returns a JsonResult to accept parameters passed via the JQuery getJSON method. The code I’m working on works fine when the second parameter ("data") of the getJSON method call is null. But when I attempt to pass in a value there, it seems as if the controller method never even gets ...
If I have a dropdown and a listbox, is there a way to order the listbox based on the dropdown using JQuery? An example would be helpful. ...
I am using jQuery and I need to get the local time for Germany. Anyone coming to my website from any country should be able to know what time it is in Germany. If the time is between 0:00 and 12:00 I need to make an alert reading: "Good Morning". If the time is between 12:00 and 17:00 I need to make an alert reading: "Good Afternoon"....
Given a set of typical models: # Application A from django.db import models class TypicalModelA(models.Model): the_date = models.DateField() # Application B from django.db import models class TypicalModelB(models.Model): another_date = models.DateField() ... How might one change the default widget for all DateFields to a cu...
I am using CakePHP for my project, and I am generating XML views so that I can interact with them (CRUD) from an external website. There is authentication required on the CakePHP website. Essentially, I want to view "http://mycakeapp.com/posts/views/1.xml" from "http://www.example.com" However, I get this error when using jQuery's aja...
I want to animate a scroll to the bottom of the viewport with jQuery. Is there a plugin available which isn't overkill (i.e. without a huge feature set for this small task); Is there a plugin available or a way to do this natively with jQuery? ...