Quantcast
Channel: naspinski - javascript
Browsing latest articles
Browse All 13 View Live

best javascript toggleDiv function ever

Everyone has a javascript toggleDiv function somewhere, but this is the cleanest one you will ever see All this is is an expand and collapse of whatever you want it to expand/collapse - it is made for...

View Article



HTML/JavaScript Dropdown List Redirect

Recently on a forum the question was asked how to redirect using a dropdown and not using any server side scripting - the answer turns out to be pretty simple All that is needded is a simple Javascript...

View Article

'Auto-tabbing' to next TextBox with asp.net and Javascript

If you have a form that limits characters entered into a textfield, using this simple approach you can automatically jump to the next control, making it easy for your user Say you have a zip code field...

View Article

Text Input Watermarks using Javascript (IE Compatible)

Simple way to add watermarks to your textboxes for a little flair in your input forms I have always used the TextBoxWatermark control that is supplied with the AjaxControlToolkit which is very easy to...

View Article

Awesome JavaScript DateTime Picker

A great tool that is completely customizable and can do more than your current DateTime picker! The folks at Zapatec came up with an amazing and free customizable DateTime picker.  You can check out...

View Article


Javascript page modifiers

Simple way for your users to modify how a page looksI have been asked more than once on how to make javascript (or as everyone asks now, 'AJAX') methods to modify a page.  It is very simple and easy to...

View Article

Image may be NSFW.
Clik here to view.

How to use Google Code Prettify with BlogEngine.Net

Simple code coloring with this javascript library From here on out you will notice that the code on my site will be formatted differently, and you won't know this, but it will be much easier for me to...

View Article

Image may be NSFW.
Clik here to view.

Is Nick Stakenburg bullying his open-source 'competitor'

corporate scare tactics on a lower level? Due to my recent affection for jQuery, I was looking around for a good tooltip framework. I found SimpleTip written by Craig Thompson and it is great! I...

View Article


Use and Manipulate Asp.Net Validators with jQuery and/or Javascript

Asp.Net has some great validation included - no need to learn new validation, just grab them with client-side scripting The problem I found when going into jQuery validation, is that they mostly seem...

View Article


Javascript replaceAll function

javascript .replace() only replaces on instance of a character/string, this will replace them all (with no looping) This may be well know, but I did not realize this until it broke a js function where...

View Article

Use jQuery to add all the values in a table column

simple way to get the total for a table table.custom { width:400px; border:dashed 3px #ccc; } table.custom tr td, #data tr th { padding:3px; } table.custom tr td { border-top:solid 1px #ccc;}...

View Article

Image may be NSFW.
Clik here to view.

Inline AJAX DropDown and Text Editing with Asp.Net MVC and jQuery

including how to use a database to populate the dropdown First thing is first, you will need to download jQuery and the Jeditable plugin (I prefer to refer to it as the Jedi-Table!). Be sure to put...

View Article

Monitoring a DOM Element for Modification with jQuery

'watching' an element for any change within it I recently ran into a situation where I had to modify a site that relied on an incredibly obfuscated and impossible to understand javascript file. I had...

View Article

Browsing latest articles
Browse All 13 View Live




Latest Images