473,396 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Does postback work with show/hide?

I have created a form with show/hide on a couple of fields. However, this hidden info is not posting back when I click submit. Can someone help?

Source code

Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <title>Show Hide</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  7. <script type="text/javascript" src="file:///P|/showHide.js"></script>
  8. <link href="file:///P|/IntoActionCSS.css" type="text/css" rel="stylesheet" />
  9. </head>
  10. <body>
  11. <!--Contact details-->
  12. <div class="substep"><span class="subHeading">Step 1 of 5: Personal details</span></div>
  13.  
  14. Please ensure you have your manager's approval for the content/functionality request prior to submitting this form.<br clear="all" />
  15. <br clear="all" />
  16. <!--Name-->
  17. <div class="formlabel"><strong>Name:</strong></div>
  18.  
  19. <div class="formcontent"><input id="name" onblur="design_validate_re(/\S+/,this,'Cannot be blank');" title="Name" style="TEXT-DECORATION: none" alt="Name" maxlength="150" name="name" ektdesignns_validation="string-req" ektdesignns_basetype="text" ektdesignns_validate="re:/\S+/" ektdesignns_invalidmsg="Cannot be blank" ektdesignns_name="name" ektdesignns_caption="Name" ektdesignns_nodetype="element" /></div>
  20.  
  21. <br clear="all" />
  22. <!--House number-->
  23. <div class="formlabel"><strong>House number/name:</strong></div>
  24.  
  25. <div class="formcontent"><input id="HouseName" onblur="design_validate_re(/\S+/,this,'Cannot be blank');" title="HouseName" style="FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-ALIGN: left; TEXT-DECORATION: none" alt="HouseName" maxlength="100" name="HouseName" ektdesignns_validation="string-req" ektdesignns_basetype="text" ektdesignns_validate="re:/\S+/" ektdesignns_invalidmsg="Cannot be blank" ektdesignns_name="HouseName" ektdesignns_caption="HouseName" ektdesignns_nodetype="element" /></div>
  26.  
  27. <br clear="all" />
  28. <!--Street name-->
  29. <div class="formlabel"><strong>Street:</strong></div>
  30.  
  31. <div class="formcontent"><input id="Street" onblur="design_validate_re(/\S+/,this,'Cannot be blank');" title="Street" style="FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-ALIGN: left; TEXT-DECORATION: none" alt="Street" maxlength="2000" name="Street" ektdesignns_validation="string-req" ektdesignns_basetype="text" ektdesignns_validate="re:/\S+/" ektdesignns_invalidmsg="Cannot be blank" ektdesignns_name="Street" ektdesignns_caption="Street" ektdesignns_nodetype="element" ektdesignns_normalize="re:/(\-?(\d*\.\d{1,2}|\d+))/" /></div>
  32.  
  33. <br clear="all" />
  34. <!--Location-->
  35. <div class="formlabel"><strong>Town/City:</strong></div>
  36.  
  37. <div class="formcontent"><input id="Location" onblur="design_validate_re(/\S+/,this,'Cannot be blank');" title="Location" style="FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-ALIGN: left; TEXT-DECORATION: none" alt="Location" maxlength="100" name="Location" ektdesignns_validation="string-req" ektdesignns_basetype="text" ektdesignns_validate="re:/\S+/" ektdesignns_invalidmsg="Cannot be blank" ektdesignns_name="Location" ektdesignns_caption="Location" ektdesignns_nodetype="element" /></div>
  38.  
  39. <br clear="all" />
  40. <!--Postcode-->
  41. <div class="formlabel"><strong>Postcode:</strong></div>
  42.  
  43. <div class="formcontent"><input id="Postcode" onblur="design_validate_re(/\S+/,this,'Cannot be blank');" title="Postcode" style="FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-ALIGN: left; TEXT-DECORATION: none" alt="Postcode" maxlength="100" name="Postcode" ektdesignns_validation="string-req" ektdesignns_basetype="text" ektdesignns_validate="re:/\S+/" ektdesignns_invalidmsg="Cannot be blank" ektdesignns_name="Postcode" ektdesignns_caption="Postcode" ektdesignns_nodetype="element" /></div>
  44.  
  45. <br clear="all" />
  46. <!--Telephone-->
  47. <div class="formlabel"><strong>Telephone:</strong></div>
  48.  
  49. <div class="formcontent"><input id="Telephone" onblur="design_validate_re(/^\d+$/,this,'Non-negative whole number (required)');" title="Telephone" style="FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-ALIGN: left; TEXT-DECORATION: none" alt="Telephone" maxlength="100" name="Telephone" ektdesignns_validation="nonNegInt-req" ektdesignns_basetype="number" ektdesignns_validate="re:/^\d+$/" ektdesignns_invalidmsg="Non-negative whole number (required)" ektdesignns_name="Telephone" ektdesignns_caption="Telephone" ektdesignns_nodetype="element" /></div>
  50.  
  51. <br clear="all" />
  52. <br clear="all" />
  53. <!--Request Details--><!--Website-->
  54. <div class="substep"><span class="subHeading">Step 2 of 5: Employee details</span></div>
  55.  
  56. <div class="formlabel"><strong>Department:</strong></div>
  57.  
  58. <div class="formcontent"><select id="Website" title="First item is not a valid selection." style="WIDTH: 156px" name="Website" ektdesignns_name="Website" ektdesignns_caption="Department" ektdesignns_nodetype="element">
  59. <option value="Please select" selected="selected">Please select</option>
  60. <option value="Business Services">Business Services</option>
  61. <option value="Commercial Services">Commercial Services</option>
  62. <option value="Corporate Comms">Corporate Comms</option>
  63. <option value="Corporate Services">Corporate Services</option>
  64. <option value="Customer Service">Customer Service</option>
  65. <option value="Dev and Technology">Dev and Technology</option>
  66. <option value="Finance">Finance</option>
  67. <option value="HR">HR</option>
  68. <option value="Legal">Legal</option>
  69. <option value="Network">Network</option>
  70. <option value="Operations">Operations</option>
  71. <option value="Procurement">Procurement</option>
  72. <option value="Security">Security</option>
  73. <option value="SHE">SHE</option>
  74. </select></div>
  75.  
  76. <br clear="all" />
  77. <div class="formlabel"><strong>Manager:</strong></div>
  78.  
  79. <div class="formcontent"><input id="Manager" onblur="design_validate_re(/\S+/,this,'Cannot be blank');" title="Manager" style="FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-ALIGN: left; TEXT-DECORATION: none" alt="Manager" maxlength="100" name="Manager" ektdesignns_validation="string-req" ektdesignns_basetype="text" ektdesignns_validate="re:/\S+/" ektdesignns_invalidmsg="Cannot be blank" ektdesignns_name="Manager" ektdesignns_caption="Manager" ektdesignns_nodetype="element" /></div>
  80.  
  81. <br clear="all" />
  82. <div class="formlabel"><strong>Payroll number:</strong></div>
  83.  
  84. <div class="formcontent"><input id="Payroll number" onblur="design_validate_re(/\S+/,this,'Cannot be blank');" title="Payroll number" style="FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-ALIGN: left; TEXT-DECORATION: none" alt="Payroll number" maxlength="100" name="Payroll number" ektdesignns_validation="string-req" ektdesignns_basetype="text" ektdesignns_validate="re:/\S+/" ektdesignns_invalidmsg="Cannot be blank" ektdesignns_name="Payroll" ektdesignns_caption="Payroll number" ektdesignns_nodetype="element" /></div>
  85.  
  86. <br clear="all" />
  87. <br clear="all" />
  88. <div class="substep"><span class="subHeading">Step 3 of 5: Charity details</span></div>
  89.  
  90. <!--Charity Name-->
  91. <div class="formlabel"><strong>Charity Name:</strong></div>
  92.  
  93. <div class="formcontent"><input id="charityName" onblur="design_validate_re(/\S+/,this,'Cannot be blank');" title="CharityName" style="TEXT-DECORATION: none" alt="Charity name" maxlength="150" name="CharityName" ektdesignns_validation="string-req" ektdesignns_basetype="text" ektdesignns_validate="re:/\S+/" ektdesignns_invalidmsg="Cannot be blank" ektdesignns_name="Charity name" ektdesignns_caption="Name" ektdesignns_nodetype="element" /></div>
  94.  
  95. <br clear="all" />
  96. <!--Registered number-->
  97. <div class="formlabel"><strong>Registered number:</strong></div>
  98.  
  99. <div class="formcontent"><input id="RegisteredNumber" onblur="design_validate_re(/\S+/,this,'Cannot be blank');" title="RegisteredNumber" style="FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-ALIGN: left; TEXT-DECORATION: none" alt="Registered number" maxlength="100" name="RegisteredNumber" ektdesignns_validation="string-req" ektdesignns_basetype="text" ektdesignns_validate="re:/\S+/" ektdesignns_invalidmsg="Cannot be blank" ektdesignns_name="RegisteredNumber" ektdesignns_caption="RegisteredNumber" ektdesignns_nodetype="element" /></div>
  100.  
  101. <br clear="all" />
  102. <!--Street name-->
  103. <div class="formlabel"><strong>Aims:</strong></div>
  104.  
  105. <div class="formcontent"><textarea id="Aims" title="Field 1" style="MARGIN: 2px; WIDTH: 277px; HEIGHT: 112px" name="Aims" cols="29" ektdesignns_name="Aims" ektdesignns_caption="Aims" ektdesignns_nodetype="element" ektdesignns_normalize="re:/(\-?(\d*\.\d{1,2}|\d+))/" alt="Aims"></textarea></div>
  106.  
  107. <br clear="all" />
  108. <br clear="all" />
  109. <div class="substep"><span class="subHeading">Step 4 of 5: What type of funding is needed?</span></div>
  110.  
  111. <!--What type of funding is needed?-->
  112. <ektdesignns_choices id="Type_of_funding" ektdesignns_name="Type_of_funding" name="Type_of_funding" ektdesignns_caption="Type of funding" title="Field 1" ektdesignns_nodetype="element">
  113. <ol class="design_list_vertical" title="Field 1" contenteditable="false" unselectable="on" ektdesignns_maxoccurs="1" ektdesignns_minoccurs="0">
  114. <li>
  115. <div><a onclick="sweeptoggle('attach'); expandcontent (this,'funds')" href="#"><input id="IDA67C8" title="Matching funds" type="radio" value="Matching funds" name="Type_of_funding" ektdesignns_nodetype="item" /><label contenteditable="true" for="IDA67C8" unselectable="off">Matching funds</label></a></div>
  116.  
  117. <div class="showHideHeader">
  118. <div class="switchcontent" id="funds" style="DISPLAY: none">
  119. <div class="substep">Describe how you raised the funds</div>
  120.  
  121. <div class="formlabel"><textarea id="describe" onblur="design_validate_js('this.text.length &lt;= 500',this,'Allow maximum of 500 characters');" title="Describe" style="MARGIN: 2px; WIDTH: 289px; HEIGHT: 141px" name="describe" cols="29" ektdesignns_validation="max500Chars" ektdesignns_basetype="textbox" ektdesignns_validate="js:this.text.length &lt;= 500" ektdesignns_invalidmsg="Allow maximum of 500 characters" ektdesignns_name="describe" ektdesignns_caption="Description" ektdesignns_nodetype="element"></textarea></div>
  122.  
  123. <br clear="all" />
  124. <!--When did you do this-->
  125. <div class="formlabel"><strong>When did you do this?:</strong></div>
  126.  
  127. <div class="formcontent"><input id="when" onblur="design_validate_re(/\S+/,this,'Cannot be blank');" title="when" style="FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-ALIGN: left; TEXT-DECORATION: none" alt="when" maxlength="100" name="when" ektdesignns_validation="string-req" ektdesignns_basetype="text" ektdesignns_validate="re:/\S+/" ektdesignns_invalidmsg="Cannot be blank" ektdesignns_name="when" ektdesignns_caption="when" ektdesignns_nodetype="element" /></div>
  128.  
  129. <br clear="all" />
  130. <br clear="all" />
  131. <!--How much did you rasie-->
  132. <div class="formlabel"><strong>How much did you raise?:</strong></div>
  133.  
  134. <div class="formcontent"><input id="raised" onblur="design_validate_re(/\S+/,this,'Cannot be blank');" title="raised" style="FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-ALIGN: left; TEXT-DECORATION: none" alt="raised" maxlength="100" name="raised" ektdesignns_validation="string-req" ektdesignns_basetype="text" ektdesignns_validate="re:/\S+/" ektdesignns_invalidmsg="Cannot be blank" ektdesignns_name="raised" ektdesignns_caption="raised" ektdesignns_nodetype="element" /></div>
  135.  
  136. <br clear="all" />
  137. <br clear="all" />
  138. </div>
  139. </div>
  140. </li>
  141.  
  142. <li>
  143. <div><a onclick="sweeptoggle('matchingtime'); expandcontent (this,'matchingtime')" href="#"><input id="ID720E6" title="Matching time funds" type="radio" value="Matching time funds" name="Type_of_funding" ektdesignns_nodetype="item" /><label contenteditable="true" for="ID720E6" unselectable="off">Matching time funds</label></a></div>
  144.  
  145. <div class="showHideHeader">
  146. <div class="switchcontent" id="matchingtime" style="DISPLAY: none">
  147. <div class="substep">What is your involvement with this Charity?</div>
  148.  
  149. <div class="formlabel"><textarea id="involvement" onblur="design_validate_js('this.text.length &lt;= 500',this,'Allow maximum of 500 characters');" title="involvement" style="MARGIN: 2px; WIDTH: 289px; HEIGHT: 141px" name="involvement" cols="29" ektdesignns_validation="max500Chars" ektdesignns_basetype="textbox" ektdesignns_validate="js:this.text.length &lt;= 500" ektdesignns_invalidmsg="Allow maximum of 500 characters" ektdesignns_name="involvement" ektdesignns_caption="involvement" ektdesignns_nodetype="element"></textarea></div>
  150.  
  151. <br clear="all" />
  152. <!--How many hours have you worked-->
  153. <div class="formlabel"><strong>How many hours have you worked on a voluntary basis this year?:</strong></div>
  154.  
  155. <div class="formcontent"><input id="hours" onblur="design_validate_re(/\S+/,this,'Cannot be blank');" title="hours" style="FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-ALIGN: left; TEXT-DECORATION: none" alt="hours" maxlength="100" name="hours" ektdesignns_validation="string-req" ektdesignns_basetype="text" ektdesignns_validate="re:/\S+/" ektdesignns_invalidmsg="Cannot be blank" ektdesignns_name="hours" ektdesignns_caption="hours" ektdesignns_nodetype="element" /></div>
  156.  
  157. <br clear="all" />
  158. <br clear="all" />
  159. </div>
  160. </div>
  161. </li>
  162.  
  163. <li>
  164. <div><a onclick="sweeptoggle('grant'); expandcontent (this,'grant')" href="#"><input id="ID720E6" title="grant" type="radio" value="grant" name="Type_of_funding" ektdesignns_nodetype="item" /><label contenteditable="true" for="ID720E6" unselectable="off">Grant</label></a></div>
  165.  
  166. <div class="showHideHeader">
  167. <div class="switchcontent" id="grant" style="DISPLAY: none">
  168. <div class="substep">What is your involvement with this Charity?</div>
  169.  
  170. <div class="formlabel"><textarea id="yourinvolvement" onblur="design_validate_js('this.text.length &lt;= 500',this,'Allow maximum of 500 characters');" title="yourinvolvement" style="MARGIN: 2px; WIDTH: 289px; HEIGHT: 141px" name="yourinvolvement" cols="29" ektdesignns_validation="max500Chars" ektdesignns_basetype="textbox" ektdesignns_validate="js:this.text.length &lt;= 500" ektdesignns_invalidmsg="Allow maximum of 500 characters" ektdesignns_name="yourinvolvement" ektdesignns_caption="yourinvolvement" ektdesignns_nodetype="element"></textarea></div>
  171.  
  172. <br clear="all" />
  173. <!--What is the purpose of the grant-->
  174. <div class="formlabel"><strong>What is the purpose of the grant?:</strong></div>
  175.  
  176. <div class="formcontent"><input id="purpose" onblur="design_validate_re(/\S+/,this,'Cannot be blank');" title="purpose" style="FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-ALIGN: left; TEXT-DECORATION: none" alt="purpose" maxlength="100" name="purpose" ektdesignns_validation="string-req" ektdesignns_basetype="text" ektdesignns_validate="re:/\S+/" ektdesignns_invalidmsg="Cannot be blank" ektdesignns_name="purpose" ektdesignns_caption="purpose" ektdesignns_nodetype="element" /></div>
  177.  
  178. <br clear="all" />
  179. <br clear="all" />
  180. <!--Amount claimed-->
  181. <div class="formlabel"><strong>Amount claimed?:</strong></div>
  182.  
  183. <div class="formcontent"><input id="amount" onblur="design_validate_re(/\S+/,this,'Cannot be blank');" title="amount" style="FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-ALIGN: left; TEXT-DECORATION: none" alt="amount" maxlength="100" name="purpose" ektdesignns_validation="string-req" ektdesignns_basetype="text" ektdesignns_validate="re:/\S+/" ektdesignns_invalidmsg="Cannot be blank" ektdesignns_name="amount" ektdesignns_caption="amount" ektdesignns_nodetype="element" /></div>
  184. </div>
  185. </div>
  186. </li>
  187. </ol>
  188. </ektdesignns_choices>
  189.  
  190. <!--Business justification-->
  191. <div class="substep"><span class="subHeading">Step 5 of 5: Disclaimer</span></div>
  192.  
  193. <input id="Disclaimer" title="Field 1" type="checkbox" name="Disclaimer" ektdesignns_name="Disclaimer" ektdesignns_caption="Disclaimer" ektdesignns_nodetype="element" /> I certify that the sum stated above has been raised or volunteer hours have been given for the benefit of my charity. To the best of my knowledge all other information is accurate.<br clear="all" />
  194. <br clear="all" />
  195. <!--Submit/Reset-->
  196. <div class="buttons"><a href="mailto:sgnnet@sgn.co.uk"><input type="submit" value="Submit" name="btnsubmit" /></a> <input class="btnreset" type="reset" value="Reset" name="btnreset" /></div>
  197. </body>
  198. </html>
  199.  
JavaScript document

Expand|Select|Wrap|Line Numbers
  1. // JavaScript Document
  2.  
  3. var enablepersist="on" //Enable saving state of content structure using session cookies? (on/off)
  4. var collapseprevious="no" //Collapse previously open content when opening present? (yes/no)
  5. //var testsymbol='- ' //HTML for test symbol.
  6. //var expandsymbol='+ ' //HTML for expand symbol.
  7. if (document.getElementById){
  8. document.write('<style type="text/css">')
  9. document.write('.switchcontent{display:none;}')
  10. document.write('</style>')
  11. }
  12. function getElementbyClass(rootobj, classname){
  13. var temparray=new Array()
  14. var inc=0
  15. var rootlength=rootobj.length
  16. for (i=0; i<rootlength; i++){
  17. if (rootobj[i].className==classname)
  18. temparray[inc++]=rootobj[i]
  19. }
  20. return temparray
  21. }
  22. function sweeptoggle(ec){
  23. var thestate=(ec=="expand")? "block" : "none"
  24. var inc=0
  25. while (ccollect[inc]){
  26. ccollect[inc].style.display=thestate
  27. inc++
  28. }
  29. revivestatus()
  30. }
  31. function testcontent(omit){
  32. var inc=0
  33. while (ccollect[inc]){
  34. if (ccollect[inc].id!=omit)
  35. ccollect[inc].style.display="none"
  36. inc++
  37. }
  38. }
  39. function expandcontent(curobj, cid){
  40. var spantags=curobj.getElementsByTagName("SPAN")
  41. var showstateobj=getElementbyClass(spantags, "showstate")
  42. if (ccollect.length>0){
  43. if (collapseprevious=="yes")
  44. testcontent(cid)
  45. document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none"
  46. if (showstateobj.length>0){ //if "showstate" span exists in header
  47. if (collapseprevious=="no")
  48. showstateobj[0].innerHTML=(document.getElementById(cid).style.display=="block")? testsymbol : expandsymbol
  49. else
  50. revivestatus()
  51. }
  52. }
  53. }
  54. function revivecontent(){
  55. testcontent("omitnothing")
  56. selectedItem=getselectedItem()
  57. selectedComponents=selectedItem.split("|")
  58. for (i=0; i<selectedComponents.length-1; i++)
  59. document.getElementById(selectedComponents[i]).style.display="block"
  60. }
  61. function revivestatus(){
  62. var inc=0
  63. while (statecollect[inc]){
  64. if (ccollect[inc].style.display=="block")
  65. statecollect[inc].innerHTML=testsymbol
  66. else
  67. statecollect[inc].innerHTML=expandsymbol
  68. inc++
  69. }
  70. }
  71. function get_cookie(Name) { 
  72. var search = Name + "="
  73. var returnvalue = "";
  74. if (document.cookie.length > 0) {
  75. offset = document.cookie.indexOf(search)
  76. if (offset != -1) { 
  77. offset += search.length
  78. end = document.cookie.indexOf(";", offset);
  79. if (end == -1) end = document.cookie.length;
  80. returnvalue=unescape(document.cookie.substring(offset, end))
  81. }
  82. }
  83. return returnvalue;
  84. }
  85. function getselectedItem(){
  86. if (get_cookie(window.location.pathname) != ""){
  87. selectedItem=get_cookie(window.location.pathname)
  88. return selectedItem
  89. }
  90. else
  91. return ""
  92. }
  93. function saveswitchstate(){
  94. var inc=0, selectedItem=""
  95. while (ccollect[inc]){
  96. if (ccollect[inc].style.display=="block")
  97. selectedItem+=ccollect[inc].id+"|"
  98. inc++
  99. }
  100. document.cookie=window.location.pathname+"="+selectedItem
  101. }
  102. function do_onload(){
  103. uniqueidn=window.location.pathname+"firsttimeload"
  104. var alltags=document.all? document.all : document.getElementsByTagName("*")
  105. ccollect=getElementbyClass(alltags, "switchcontent")
  106. statecollect=getElementbyClass(alltags, "showstate")
  107. if (enablepersist=="on" && ccollect.length>0){
  108. document.cookie=(get_cookie(uniqueidn)=="")? uniqueidn+"=1" : uniqueidn+"=0" 
  109. firsttimeload=(get_cookie(uniqueidn)==1)? 1 : 0 //check if this is 1st page load
  110. if (!firsttimeload)
  111. revivecontent()
  112. }
  113. if (ccollect.length>0 && statecollect.length>0)
  114. revivestatus()
  115. }
  116. if (window.addEventListener)
  117. window.addEventListener("load", do_onload, false)
  118. else if (window.attachEvent)
  119. window.attachEvent("onload", do_onload)
  120. else if (document.getElementById)
  121. window.onload=do_onload
  122. if (enablepersist=="on" && document.getElementById)
  123. window.onunload=saveswitchstate
Aug 30 '10 #1
2 2040
omerbutt
638 512MB
sorry if i am wrong but i cant see any <form> tag in you html code , how could you submit the form without form :(
regards,
Omer Aslam.
Aug 31 '10 #2
Sorry I should have mentioned that it is an Ektron (CMS) template.
Aug 31 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Mad Scientist Jr | last post by:
Through messing around I got IE6 (win xp) to show/hide a table row. I gave my <TR> an ID of "trRow" and trRow.style.display='none'; hides it trRow.style.display='block'; displays it (will any...
2
by: Ajai Kumar .R | last post by:
Hai all, I've two or more forms on my app. My requirement is, Have to show the first form asa the user press a button have to hide the first form and show the second form. If the user press the...
10
by: oLE | last post by:
I would like to add some javascript to show/hide a certain row of a table. The first row of the table contain the hyperlink that calls the javascript the second row is the one i want to show/hide...
3
by: alex | last post by:
I'd like to have a show/hide widget on my web site, kind of like "show details" / "hide details" in Google Groups. Is there a tutorial explaining how to make them? Google's is a bit complex and...
5
by: dje | last post by:
In the OnClick event on a radioButtonList, I run a javascript to show/hide the appropriate div along with a submit button, which displays as expected. The problem is the submit no longer works on...
4
by: bridgemanusa | last post by:
Hi All: I have a very long page of html that I want to take portions and hide them in divs, then show when a link is clicked. I have the hide show part working when the link is clicked, however...
7
by: FP | last post by:
I'm new to Java Script. I'm displaying comments people have made. Below each persons' comment I want to add 2 buttons "Reply" and "Amend". Clicking "Reply" would display an empty text field...
1
by: asilverpeach | last post by:
Hey Guys! Found some great scripts here on this topic but have to make to changes to the code that I can't seem to figure out. First, In the following code clicking on the headers shows the...
1
by: pamate | last post by:
hi, I want to show hide layers. I am able to show and hide layers but i am facing problem that, cant view the cursor in Mozilla,but i can type in input text box, its overlapping the layers. ...
6
by: theory | last post by:
Having an odd problem with this script- it's supposed to show/hid div's based on the option selected in a selection box. It's supposed to change methodology based on common browsers. The hardest...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.