jquery (21,445)


Calculate relative time in C#

Calculate relative time in C#

Given a specific DateTime value, how do I display relative time, like: 2 hours ago 3 days ago a month ago…


html - Determine a user's timezone

Is there a standard way for a web server to be able to determine a user's timezone within a web page? Perhaps from an HTTP header or part of the user-agent string?…



php - What's the best way to generate a tag cloud from an array using h1 through h6 for sizing?

I have the following arrays: $artist=array("the roots", "michael jackson", "billy idol", "more", "and more", "and_YET_MORE"); $count=array(5, 3, 9, 1, 1, 3); I want to generate a tag cloud that will h…


Modify Address Bar URL in AJAX App to Match Current State

I'm writing an AJAX app, but as the user moves through the app, I'd like the URL in the address bar to update despite the lack of page reloads. Basically, I'd like for them to be able to bookmark at a…


html - How do I make a checkbox toggle from clicking on the text label as well?

Checkboxes in HTML forms don't have implicit labels with them. Adding an explicit label(some text) next to it doesn't toggle the checkbox. How do I make a checkbox toggle from clicking on the text la…


How can I detect if a browser is blocking a popup?

Occasionally, I've come across a webpage that tries to pop open a new window(for user input, or something important), but the popup blocker prevents this from happening. What methods can the calling w…


Can ASP.NET AJAX partial rendering work inside a SharePoint 2007 application page?

I have a simple page with my ScriptManager and my UpdatePanel, and my ContentTemplate has one ListBox and one Label. I am just trying to catch its OnSelectionChanged so I can update the text in the…


javascript - Capturing TAB key in text box

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicabl…


MAC addresses in JavaScript

I know that we can get the MAC address of a user via IE(ActiveX objects). Is there a way to obtain a user's MAC address using JavaScript?…


.net - Grid Hosting for Windows

Are there any good grid-hosting companies out there that offer.NET stacks? Something like MediaTemple-which won't host the worlds fastest websites, but for the price is far better than "shared host…




javascript how get example not html with using value from