JavaScript
There are 22 entries for the tag
JavaScript
This morning at MVP Summit, Scott Hunter just announced a new open source project fromappendTo called Juice UI. Juice UI is a collection of Web Forms components which make it incredibly easy to leverage jQuery UI widgets in ASP.NET Web Forms applications. You can start using it right away by adding the JuiceUI NuGet package to your app, and you're welcome to go nuts with the source, which is dual licensed under MIT and GPL. Basically this is a version of the AjaxControlToolkit powered by jQuery and jQueryUI. I’m kind of torn on...
Understanding JavaScript Function Invocation and “this” aims to clear up some of the misunderstanding around the semantics of ‘this’ in JavaScript function invocations. If you use jQuery, then you should read the three paragraphs titled ‘On jQuery’, even if you don’t read anything else on the page: Because jQuery makes such heavy use of anonymous callback functions, it uses the call method internally to set the this value of those callbacks to a more useful value. For instance, instead of receiving window as this in all event handlers (as you would without special intervention), jQuery...
I wrote about jQuery wildcard selector syntax briefly back in 2009, and since then that post has received a lot of views – way more than a post that brief should ever have seen. After seeing the number of views I did a quick bit of digging, and realised why I was having trouble back then, and possibly why the post has been viewed so often – it seems jQuery 1.3.2 dropped support for inline selector wildcards (i.e. \\S*), and there’s still posts, samples and examples lurking around encouraging people to use this old syntax. What this...
I mentioned jQuery mobile beta 3 was released a few weeks ago, so it’d be a bit slack of me if I didn’t mention that 1.0 RC1 was released a few days back. I’ve not gone through the changes and fixes in too much detail, but the one thing that jumped out at me was that a download builder is something that will be very handy. Tags: jQuery Mobile, JavaScript
I’ve mentioned jQuery mobile briefly a couple of times over the past couple of weeks, as I’ve got a small work in progress app that I’m chipping away at. One of the first things I was pondering about was the regularity of new releases on the project, and so I’m happy to find that beta 3 was released a couple of days ago. Looking forward to going through the change log when I have a few moments. Tags: jQuery, JavaScript
If you’re using JSON anywhere then you’ll probably find mockJSON pretty interesting. It’s a plugin for jQuery that hijacks JSON and JSONP requests and responds with some randomly generated data that you can define/control via a template. Tags: jQuery, JavaScript
DepthJS allows any web page to interact with the Microsoft Kinect using Javascript. Tags: Microsoft, JavaScript, Web Development
Stephen Walther talks about the May 2011 Release of the Ajax Control Toolkit – despite my not really having a need for the Ajax Control Toolkit it’s still obviously an incredibly popular project, and it’s good to see it getting some updates. Tags: Microsoft, JavaScript
Is it the end for the AJAX Control Toolkit? I’m not sure as I think there’s always going to be a market for simple declarative ‘pseudo ajax’ additions to the WebForms experience, no matter how bad the markup and JavaScript that they create. So while I can’t see myself using it, a version of the AjaxControlToolkit with some jQuery behind it could be an interesting thing to see. Certainly if there’s going to be sites out there using the ACT it’d be a better world if there was jQuery somewhere in the picture. Watch that space. Tags:...
W3C has published a new working draft of a proposed standard that will enable limited filesystem access from JavaScript – be afraid, be very afraid. The trend towards significantly faster JavaScript engines is enabling powerful client-side processing on a level that simply wasn't feasible before in browsers. Local file access will make it possible to take advantage of client-side processing for a number of common and innovative tasks. The new File API spec isn't particularly revolutionary or game-changing, but it's a nice bit of added functionality that will broaden...
A quick collection of a few jQuery plug-ins and snippets which I’ve found useful over the past couple of weeks. jQuery listmenu plugin - allows you to easily convert a long, hard to navigate list into a compact, easily skimmable 'first-letter' based menuing system. Looks like a slick plug-in if you have the need for something like this. jQuery Style ASP.NET Form Validators – useful styling additions to ASP.NET’s stock validator controls to give you more control over the styling of the warning/error messages. Comes with 2 versions – one with animation, and one without (my preference being...
At the risk of adding too much to the echo chamber, Scott Guthrie's October 22nd post has some pretty useful resources for anyone looking to get better acquainted with the use of jQuery with ASP.NET (as well as other useful things of course, but I found the jQuery info particularly useful). Tags: JavaScript , ASP.NET
A while ago I did a bit of exploring into jQuery. I really liked what I saw, and was trying to decide whether to invest a bit of time into knowing it better - but with so many JavaScript frameworks and libraries out there it's hard to know which ones are worthy of attention.
It looks like Microsoft and jQuery have made that decision a lot easier, with this announcement from Scott Guthrie:
I'm excited today to announce that Microsoft will be shipping jQuery with Visual Studio going forward. We will distribute the jQuery JavaScript library as-is, and will not be...
FancyZoom is a lightweight way of providing image zoom functionality to your site. Similar to Lightbox and it’s kind, but with no library requirements and a more ‘mac like’ finish. Tags: JavaScript
If you work with ASP.NET and AJAX then you'll probably want to take a look at Microsoft's ASP.NET AJAX Roadmap document. After restating their goal of "making ASP.NET Ajax the first-class choice for all Web 2.0 Developers" they start listing some of their ideas for the future. Template driven binding sounds useful, and I've recently come across a few people mentioning that even though the version in Atlas had it's faults, that it was still a good idea. The DOM APIs around element selection look useful, and there are various other shiny things such as increased animation effects...
WMD is a rather unfortunately named WYSIWYG-style HTML editor written in JavaScript. It looks pretty slick, especially the split screen mode shown in the advanced demo. I've recently spent a bit of time playing with the YUI editor, which was incredibly feature rich and I liked it a lot, but seemed a little bit heavy for my needs. Obviously it's not right to compare the YUI editor (which is full WYSIWYG) to WMD (which requires a little more tech savvy user base), but the lightweight size and clean styling of WMD is really appealing right now. I'll try and...
A post with a few tidbits of interesting JavaScript related stuff: Need an interactive date range picker? Check out this one (based on jQuery) from Filament group - view the example page, or the article. PersistJS is a client-side JavaScript persistent storage library. It's also a good reason to stop and appreciate Silverlight's caching functionality. "An easier and more accessibe YouTube player" is what it sounds like. An example of an accessible youtube video player based around their JavaScript API. Tags: JavaScript
jsvi is a JavaScript version of VI. Looks scarily useful. Tags: JavaScript , VI
The description of TaffyDB reads:
Taffy DB is a free and opensource JavaScript library that acts as thin data layer inside Web 2.0 and Ajax application
Think of it as a SQL database in your web browser.
Ok, I thought of that - and it scares me. Yet, intrigues me at the same time.
Technorati Tags: SQL,JavaScript
What an unfortunate version number. He should have skipped straight to 3.0, or even 2.5. Anywho, Accordion 2.0 is an update of the scriptaculous based Accordion script.
It's quite a neat accordion, which works nested, or horizontally. If you don't like Accordion controls then you can just read all the people who hate the guy because of the writing tone he uses on his own site - yeah, seriously.
Tags: JavaScript
If you're dynamically resizing anything in your browser using JavaScript, and you'd like it to work in more than one browser, then you need to remember to set the unit type of your object as well as the value.
The following code works in IE, but not in Firefox:
myDiv.style.width = height1 + height2;
This however, works in both browsers:
myDiv.style.width = height1 + height2 + 'px';
As for Safari? Right now your guess is as good as mine. If I get a spare few minutes I'll throw together a...
Scott Guthrie talks about Visual Studio 2008 and it's support for JavaScript intellisense. It looks pretty slick, however I'm guessing that the computation and evaluation required to provide type inference is going to be pretty CPU intensive. Ah well - Moore's law states that we'll all have had a few computer upgrades well before 2008 right?
I'm hoping that the support for intellisense within external JavaScript files means that 2008 will offer additional navigational tools - 'go to declaration' being quite a welcome addition. Navigating through large chunks of JavaScript split across multiple files can be a bit...
About me
My name is Ross Hawkins and I'm a developer, consultant, business owner and writer based in Auckland,
New Zealand (pictured below!). My current work revolves around ASP.NET, C#, jQuery, Ajax,
SQL Server, and a mix of other Microsoft development technologies.
I also have about 15 years of experience with IBM Lotus Notes/Domino and associated technologies. While Notes/Domino
is no longer my primary focus I still like to dabble and keep my skills up to date.
I own and run 2 businesses - Hawkins Consulting Services,
and Ignition Development.
Search
Popular Content
Troubleshooting WebResource.axd
The .NET 2.0 framework changed the way clientside JavaScript is
delivered to the browser. Previously, ASP.NET 1.1 used the
aspnet_client directory whereas now 2.0 uses WebResource.axd.
Published on October 8, 2006
jQuery Wildcard Selectors - some simple examples
I wrote about jQuery wildcard selector syntax briefly back in 2009, and since then that post has received a lot of views – way more than a post that brief should ever have seen..
Published on October 14, 2011
Microsoft AJAX Extensions: Sys.Debug is null or not an object
One of the breaking changes which was made with
the 1.0 release of the Microsoft Ajax Extensions was the renaming
of the 'Debug' class to 'Sys.Debug' for reasons of compatiability
with other frameworks. Breaking changes like this can often be a source of frustration..
Published on May 22, 2007
Simple ASP.NET Character Counter
A textbox character counter is a pretty simple piece of functionality, and there's a lot of different ways to apply one to your application. The following method is nice and simple, and can be done using only clientside JavaScript if required, or combined with server side code in order to create a more dynamic effect
Published on December 4, 2006
Adding Tooltips to Gridview Headers
As the title says, this is a very simple but dynamic way of achieving tooltip text on a header column. It's not overly flash, but it's lightweight and quick to implement.
Published on April 15, 2007
Archives
May, 2012 (1)
April, 2012 (4)
March, 2012 (2)
February, 2012 (4)
January, 2012 (3)
December, 2011 (3)
November, 2011 (8)
October, 2011 (9)
September, 2011 (8)
August, 2011 (5)
July, 2011 (4)
June, 2011 (7)
May, 2011 (5)
April, 2011 (3)
March, 2011 (8)
February, 2011 (4)
January, 2011 (3)
December, 2010 (8)
November, 2010 (5)
October, 2010 (6)
September, 2010 (7)
August, 2010 (11)
July, 2010 (12)
June, 2010 (8)
May, 2010 (8)
April, 2010 (4)
March, 2010 (8)
February, 2010 (6)
January, 2010 (12)
December, 2009 (13)
November, 2009 (11)
October, 2009 (12)
September, 2009 (12)
August, 2009 (2)
July, 2009 (7)
June, 2009 (12)
May, 2009 (9)
April, 2009 (9)
March, 2009 (9)
February, 2009 (8)
January, 2009 (7)
December, 2008 (6)
November, 2008 (7)
October, 2008 (9)
September, 2008 (12)
August, 2008 (9)
July, 2008 (6)
June, 2008 (24)
May, 2008 (13)
April, 2008 (16)
March, 2008 (8)
February, 2008 (10)
January, 2008 (1)
December, 2007 (14)
November, 2007 (11)
October, 2007 (11)
September, 2007 (13)
August, 2007 (11)
July, 2007 (5)
June, 2007 (15)
May, 2007 (11)
April, 2007 (9)
March, 2007 (9)
February, 2007 (10)
January, 2007 (8)
December, 2006 (18)
November, 2006 (11)
October, 2006 (14)
September, 2006 (9)
August, 2006 (10)
July, 2006 (4)
June, 2006 (4)
May, 2006 (6)
April, 2006 (3)
February, 2006 (6)
January, 2006 (10)
September, 2005 (2)
August, 2005 (4)
Post Categories
ASP.NET
AJAX
Amusing
NZ
NZ Trains
Notes/Domino
Visual Studio
Web Development
Miscellaneous
Me
Rugby
C#
SQL