News in the Category: JavaScript Subscribe to the rss of this category.

Total posts: 1272 | Sort by Views | Sort by Hits

Open a new window maximized

E-Surfers Weblog, September 30, 2005
Views: 23,318 | Hits 1,038

Just a javascript function used to open a new window maximized: function openwindow(url) {    var options = 'scrollbars=yes,resizable=yes,status=no,toolbar=no,menubar=no,location=no';&n...

Understanding the JavaScript __doPostBack Function - The #1 ASP.NET Community, June 20, 2006
Views: 10,905 | Hits 2,096

In this article we will look into the __doPostBack function of JavaScript. Read the article to find some insights about the function....

Row level Javascript for GridView

The Code Project Latest Articles, October 8, 2006
Views: 10,238 | Hits 1,750

This article expalins how to attach Javascript functions to gridview rows and fields...

Set Print Orientation To Landscape In ASP Pages New Articles, September 21, 2006
Views: 9,250 | Hits 632

Actually I'm trying to print a page that has details in the table and that table exceeds width of the A4 page. The height of the page is nearly 1/2 of the height of A4 page. The print in Landscape ap...

Multiline TextBox with MaxLength Validation

The Code Project Latest Articles, March 12, 2006
Views: 8,716 | Hits 948

A simple extension of existing TextBox control to attach javascript for maxlength validation....

Persian Calendar & Date Picker for Web Applications (JavaScript)

The Code Project Latest Articles, November 14, 2007
Views: 8,286 | Hits 855

A library to work with "Persian Calendar", "Hijri Calendar", "Jalali Calendar" and "Gregorian Calendar" with WebForms GUI controls designed for Persian (Farsi) ...

ScriptResource.axd and and assemblies built in the future

the telerik blogs, July 6, 2007
Views: 8,193 | Hits 61

Here is something I didn't know until recently:If you have a ScriptControl whose JavaScript files are web resources (served through ScriptResource.axd instead of WebResource.axd) and the date of the a...

Expanding / Collapsing GridView Rows

The Code Project Latest Articles, May 7, 2008
Views: 7,624 | Hits 1,107

This article describes how to expand and collapse rows of a GridView using JavaScript....

CheckBoxList Select All or None Checkboxes

Andreas Kraus: C#, ASP.NET, SEO, June 26, 2007
Views: 6,876 | Hits 829

Here is an very easy client-side javascript to check or uncheck all your checkboxes from your CheckBoxList at once:function Select(Select){ for (var n=0; n Select All |

ASP.NET 2.0 Client Validation Javascript Bug

youve been HAACKED, July 14, 2006
Views: 6,421 | Hits 387

I recently ran into a perplexing problem that I believe is a bug in ASP.NET 2.0. Subtext dynamically loads UserControls into the page when fulfilling a request. When commenting on a post, we load a ...

Rich Tooltips With jQuery

Scott on Writing, October 23, 2009
Views: 6,134 | Hits 87

I was recently working on an application and needed the ability to present the user with a list of links when they hovered over a particular line of text. HTML elements include a title attribute that,...

Masterpage and Javascript document.getElementById

The Code Project Latest Articles, December 14, 2007
Views: 5,730 | Hits 801

This article talks about the issues faced in accessing the controls inside a Masterpage from Javascript, and points a quick solution...

How to calculate difference between two dates using JavaScript

The Code Project Latest Articles, April 8, 2007
Views: 5,694 | Hits 535

This code will give you the diffrence between the two dates in days.Some time it is required in the program to get diff. between two dates.It is so small and very efficient code....

Login Page remember me functionality using javascript

The Code Project Latest Articles, September 21, 2007
Views: 5,485 | Hits 595

Remember me functionality using javascript and cookie need to provide user name password will automaticlly read by javscriot function and will add to textbox...

JSON Serialization of a DataReader

Rick Strahls WebLog, April 24, 2009
Views: 5,307 | Hits 282

Ive run into a scenario a few times now where I ended up with a DataReader at the end of a service call that I want to serialize into JSON to feed to the client. Dont start -  Im not recommending...

Multiline strings in JavaScript

ComponentArt WebLogs, October 17, 2007
Views: 5,293 | Hits 483

Myth: You can't have a string literal stretch across two lines of text in JavaScript.Fact: You can have multiline string literals in JavaScript in all browsers.Multiline (or is it "multi-line...

JavaScript and and function.apply for async execution

Rick Strahls WebLog, August 10, 2006
Views: 5,193 | Hits 867

A while back I posted about a JavaScript issue that I’ve run into quite commonly with callbacks and in working around DOM elements that don’t want to update properly until UI control retur...

Slide menu using JQuery

The Code Project Latest Articles, March 11, 2008
Views: 5,162 | Hits 575

JavaScript Slide Menu with JQuery...

JavaScript Virtual Keyboard

The Code Project Latest Articles, July 13, 2007
Views: 5,161 | Hits 744

This article presents a Virtual Keyboard - an important addendum to the library of usability tools....

Keep the scroll position of a DIV after postback

Fredrik Norméns Blog, March 30, 2007
Views: 5,109 | Hits 598

Maybe this Tips & Trix will be useful to some of you; at least I have seen that kind of question a lot of times. It’s about how to remain scroll positions in a <DIV> after a postback. ...

Using jQuery to Display Google Maps in a Modal Dialog

BiteTheBullet - Latest 25 Items, April 23, 2008
Views: 5,056 | Hits 952

How to use jQuery and Thickbox to display a Google Map in a modal style dialog....

Prevent Users from Submitting a Form Twice Headlines, October 4, 2006
Views: 4,853 | Hits 271

When a user clicks a submit button in a form, their browser makes a request back to the web server for the specified URL. On the web server, the user's input is processed and some action is taken base...

TextBox With Tool Tip Control Implementation

The Code Project Latest Articles, August 6, 2006
Views: 4,633 | Hits 589

How to implement fancy tool tips mechanism for TextBox control...

Freeze Panes like Excel

The Code Project Latest Articles, August 15, 2007
Views: 4,600 | Hits 540

Freeze Panes in a html tablel cross browser using javascript...

Passing Server-Side Values to Client-Side Script - The #1 ASP.NET Community, May 26, 2006
Views: 4,551 | Hits 625

In this article Peter describes best practices for taking server-side values (whether from a database, web.config or a calculated value) and sending them to the client to be used by JavaScript....

Creating a TextBox Word / Character Counter Control Headlines, October 31, 2007
Views: 4,514 | Hits 74

When storing user-supplied text data into a database, it is essential that the length of the user's input does not exceed the size of the corresponding database table field. For example, imagine that...

Script# (Script Sharp) writing javascript in C#

ISerializable, August 11, 2009
Views: 4,503 | Hits 243

Ive started dabbling with web development. Im building a secret project that Ill unleash one day. soon. Im learning a lot of JS and JQUery foo as Im putting together a coupld of ajax and interaction ...

Trap browser Close Event

The Code Project Latest Articles, September 6, 2007
Views: 4,357 | Hits 465

How to trap browser ( IE / Mozila Firefox) close button and Display alert...

JavaScript, Auto Format Numbers and International Currency Like Excel New Articles, September 15, 2006
Views: 4,335 | Hits 244

Excel like auto formatting numbers in JavaScript such as currency, numbers with decimal points and places, and disabling decimal points is an important part of web based calculation data entry tables....

ASP.NET 2005 Annoyances #00001 - Master Pages & Javascript Files

Clarity Blogs: ASP.NET, February 17, 2006
Views: 4,259 | Hits 76

This is my first post in an ongoing series of things that annoy me about ASP.NET in VS2005.  Issue #00001, when using a MasterPage, any content pages not in the same directory as the master pages...

A jQuery Client Status Bar

Rick Strahls WebLog, June 13, 2008
Views: 4,250 | Hits 317

Several people have asked about the status bar in my jQuery Photoalbum example I posted recently. This is nothing fancy at all and actually quite simple to do, but since several people have asked me I...

RadCombobox with disabled javascript

the telerik blogs, October 16, 2008
Views: 4,208 | Hits 49

Hi, all. We have a couple of requests from customers to do something and make RadComboBox working when javascript is disabled. And we did it. We implemented a new AccessibilityMode property which wil...

Floating box in javascript New Articles, September 29, 2006
Views: 4,052 | Hits 507

Floating Box in Javascript By Pritam Baldota...

CodeSnip: Handle Browser Close Event on the Server-Side - The #1 ASP.NET Community, June 7, 2007
Views: 3,779 | Hits 435

In this article Bilal Haidar demonstrates how to handle the close event of the browser on the client side and execute a server side method on the server code....

File Search using Javascript

The Code Project Latest Articles, December 13, 2007
Views: 3,774 | Hits 331

Search files in client machine using javascript....

Create a jQuery Context Menu for Treeview

The Code Project Latest Articles, April 27, 2009
Views: 3,680 | Hits 192

jQuery Context Menu for Treeview...

NaN is a number

More Whidbey stuff, June 28, 2006
Views: 3,580 | Hits 235

JavaScript, like .NET, has a special thing called NaN, which stands for Not a Number. It is useful to determine if parsing a string successfully returned a number or for some operation ...

JavaScript Reorderlist

The Code Project Latest Articles, August 17, 2007
Views: 3,546 | Hits 416

Reorderlist using JavaScript that allows dragging between lists...

HREF links and javascript: Navigation

Rick Strahls WebLog, January 2, 2007
Views: 3,542 | Hits 170

I seem this mistake  repeatedly: I have a hyperlink on a page and rather than execute another URL I want it to execute a small bit of JavaScript code. Something like click a button and hide anot...

JavaScript Expandable / Collapsable Panel Control

The Code Project Latest Articles, September 5, 2008
Views: 3,536 | Hits 284

This article describes how to create an Expandable / Collapsable Panel Control using JavaScript....

Datagrid for Master/Child or Master/Slave details using ASP.NET and C#

The Code Project Latest Articles, February 7, 2008
Views: 3,516 | Hits 320

Expandable/Collapsable rows in grid using Javascript to show and hide....

Improving JavaScript Skills

K. Scott Allen, November 3, 2009
Views: 3,445 | Hits 306

A few people have asked me how to improve their JavaScript ability. Not just learn about syntax and crazy stuff like closures, but how to apply the same design skills they have in their primary langua...

Sortable GridView using jQuery's TableSorter

The Code Project Latest Articles, October 9, 2008
Views: 3,430 | Hits 398

A client side sortable grid view using jQuery's plugin Tablesorter...

Drop Down Calendar for the Web

The Code Project Latest Articles, July 25, 2007
Views: 3,390 | Hits 393

a javascript file that provides an easy to use drop down calendar for selecting dates on web pages...

Create A Music Playlist for Windows Media Player At Your Webpage

The Code Project Latest Articles, November 22, 2008
Views: 3,298 | Hits 236

This article will help you to create a music playlist at your webpage and change the running song accordingly on embedded media player. + Embedding a Windows Media Player using JavaScript....

Enumerating JavaScript Object Properties

Jason N. Gaylords Blog, February 14, 2008
Views: 3,264 | Hits 20

I am building a few controls that use client-side script for reuse in the one web app I'm working on. I needed a way to enumerate the property names and values of an object in JavaScript so I knew whi...

JavaScript >> Get Any CSS Property Value of an Object using $style

the telerik blogs, September 16, 2008
Views: 3,237 | Hits 35

    This is the first of a series of blog posts providing Javascript and CSS tips and tricks aimed to help you in your day-to-day work with web user interfaces. Anyone who needs to poli..., Prototype and Asp.Net: Best Friends Forever

ASP.NET Daily Articles, September 9, 2006
Views: 3,226 | Hits 596 and Prototype are two incredibly powerful and useful JavaScript frameworks. However, many .Net developers have not heard of them much less put them to use in their applications. This...

Custom Events in jQuery

Clarity Blogs: ASP.NET, June 26, 2009
Views: 3,164 | Hits 36

A reader comment on my last post brought it to my attention that support for custom events actually already exists in jQuery! I decided to take a look at their solution. You can find an example here (...

jQuery UI Datepicker and z-Index

Rick Strahls WebLog, September 13, 2009
Views: 3,127 | Hits 192

The jQuery date picker is a nice little date picking solution thats easy to use and work with. Ive used this control in many places and some time ago wrapped it into an ASP.NET server control to make ...