Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:757138
More Search Options
RSS Available
Matching Posts
Re: How to conditionally Enable/Disable Button control using JavaScript ?
You could add a check on the status of the textbox to the body onLoad event. This will check if the text box has more than 12 characters after postback and enable the button if appropriate. e.g. HTML <body onLoad="checkButtonStatus()"> Javascript <script language="javascript" type="text/javascript"> function checkButtonStatus{ if (document.getElementById("txtID").value.length >=12) document.getElementById("btnID").disabled = false;
Posted to
Client Side Web Development
(Forum)
by
mattmeckes
on 9/6/2007
Re: Accessing dynamically created checkboxes in javascript
You could use getElementsByTagName to get a nodelist of all the input elements within the table. This would be OK if there are no other input tags in the table but you probably want to check which are definitly checkboxes. e.g. var chkList = document.getElementById("tableID").getElementsByTagName("input") var chkSum for(var i =1; i<chkList.length; i++){ if(chkList[1].type=='checkbox'){ chkSum++; } }
Posted to
Client Side Web Development
(Forum)
by
mattmeckes
on 9/6/2007
Re: Javascript: detect Page.IsValid and IsPostBack
If you are doing this client side I dont think you can check if it is posted back. You could create a cookie when the page is first loaded. You can store the value of the global client side variable Page_IsValid in the cookie. If the page is posted back the cookie will already exist and you can check if the original was valid.
Posted to
Client Side Web Development
(Forum)
by
mattmeckes
on 8/31/2007
Page 1 of 1 (3 items)
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
WindowsClient:
New Book: Developing for Microsoft Surface
Channel 9:
BugCamSmash in Action!
Channel 9:
Virtual Earth Videomap Movies
TechNet Edge:
AD RMS Certificates and Licensing on the Client and the Server
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13 [C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13]
Channel 10:
Bing Launches 2nd Homepage Photo Contest
Channel 10:
Bing4Free Lets You Use Bing.com Images for Desktop Wallpaper
Channel 10:
Bing Updates: Streetside Views, Photosynth, and "Mapplications"
Channel 10:
Bing for Windows Mobile Updated
WindowsClient:
New WPF Showcase: Bling Tweets
WindowsClient:
Tale of two tweets - VS beta - is it busy 70% of the time or is it brilliantly fast?
TechNet Edge:
Forefront TMG URL Filtering and MRS
Mix Online:
Using the HTML5 Video and Audio Tag with Gestalt
WindowsClient:
Subclassing Shape (or more accurately, Path)
WindowsClient:
Having trouble deleting files? Try this
Channel 9:
Nick Baker: Xbox Architecture
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online