Click here to Skip to main content
16,007,111 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Mozilla (Firefox) vs IE page displays Pin
Guffa6-Dec-05 20:46
Guffa6-Dec-05 20:46 
QuestionTable Body Scrolling across browser. Pin
techie_techie5-Dec-05 4:56
techie_techie5-Dec-05 4:56 
QuestionCopying file from client to server in ASP Pin
Rajkamal_dfine5-Dec-05 0:26
Rajkamal_dfine5-Dec-05 0:26 
AnswerRe: Copying file from client to server in ASP Pin
Guffa5-Dec-05 2:10
Guffa5-Dec-05 2:10 
QuestionAccess printer on the network ? Pin
tuan hai4-Dec-05 17:39
tuan hai4-Dec-05 17:39 
QuestionHow can I access child controls of a web form? Pin
rudy.net4-Dec-05 14:49
rudy.net4-Dec-05 14:49 
AnswerRe: How can I access child controls of a web form? Pin
Colin Angus Mackay4-Dec-05 16:02
Colin Angus Mackay4-Dec-05 16:02 
GeneralRe: How can I access child controls of a web form? Pin
rudy.net5-Dec-05 4:31
rudy.net5-Dec-05 4:31 
Colin,
Thanks for your input. You guided me into the right direction. Following is the solution in case anyone needs it as well:
<br />
		<script language=vbscript><br />
			option explicit<br />
			<!---------------- check/clear text boxes -------------><br />
			dim currChkboxName<br />
			dim currCheckValue<br />
			sub UpdateCheckboxes(chkboxName, checkValue)<br />
				currChkboxName = chkboxName<br />
				currCheckValue = checkValue<br />
				dim i<br />
				for i = 0 to Form1.children.length-1<br />
				  UpdateChildCheckboxes Form1.children(i)<br />
				next<br />
			end sub<br />
			sub UpdateChildCheckboxes(obj)<br />
				dim i <br />
				if not obj is nothing then<br />
					if obj.id <> "" then<br />
						if InStr(1, obj.id, currChkboxName) > 0 then<br />
							obj.checked = currCheckValue<br />
						end if<br />
					end if<br />
					for i = 0 to obj.children.length<br />
						UpdateChildCheckboxes obj.children(i)<br />
					next<br />
				end if<br />
			end sub<br />
		</script><br />


Then declare the buttons as follows:

<br />
<input id="btnClearTestConditions" type=button value="Clear All" onClick="UpdateCheckboxes 'cklTestConditions_', false" /><br />
<input id="btnCheckAllTestConditions" type=button value="Check All" onClick="UpdateCheckboxes 'cklTestConditions_', true" ><br />

Question#include Pin
JP52754-Dec-05 9:51
JP52754-Dec-05 9:51 
AnswerRe: #include Pin
Colin Angus Mackay4-Dec-05 15:58
Colin Angus Mackay4-Dec-05 15:58 
QuestioncreateElement and any tag? Pin
Samsung4-Dec-05 6:28
Samsung4-Dec-05 6:28 
QuestionIE in Design Mode? Pin
Samsung4-Dec-05 6:24
Samsung4-Dec-05 6:24 
QuestionMenu problems... Pin
digger2754-Dec-05 5:41
digger2754-Dec-05 5:41 
QuestionEvent hadling in JavaScript?? Pin
elza4-Dec-05 1:13
elza4-Dec-05 1:13 
Questioncfg for html Pin
smr853-Dec-05 14:32
smr853-Dec-05 14:32 
AnswerRe: cfg for html Pin
Curtis Schlak.3-Dec-05 19:17
Curtis Schlak.3-Dec-05 19:17 
QuestionTranslate Page In IE? Pin
Samsung3-Dec-05 14:30
Samsung3-Dec-05 14:30 
QuestionForce table to bottom of page? Pin
Ravi Bhavnani3-Dec-05 12:24
professionalRavi Bhavnani3-Dec-05 12:24 
Answer[Solution] Force table to bottom of page? Pin
Ravi Bhavnani3-Dec-05 12:29
professionalRavi Bhavnani3-Dec-05 12:29 
QuestionUanble to create a web reference on my web service Pin
oceanexplorer3-Dec-05 10:21
oceanexplorer3-Dec-05 10:21 
QuestionIFRAME Pin
casimirrex2-Dec-05 18:00
casimirrex2-Dec-05 18:00 
QuestionCOM Creation in ASP Pin
casimirrex2-Dec-05 17:42
casimirrex2-Dec-05 17:42 
AnswerRe: COM Creation in ASP Pin
Guffa3-Dec-05 11:59
Guffa3-Dec-05 11:59 
QuestionIs not using the colspan attribute in a table valid html Pin
eggie52-Dec-05 10:44
eggie52-Dec-05 10:44 
AnswerRe: Is not using the colspan attribute in a table valid html Pin
Guffa3-Dec-05 12:08
Guffa3-Dec-05 12:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.