473,466 Members | 1,290 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

document.getElementById("id").style.color

oll3i
679 Contributor
i'm writing javascript validator
and i change input font color when the input is incorrect
but i want this input font color to be changed back when the input is correct
i cannot do eg
Expand|Select|Wrap|Line Numbers
  1. var email1= form.email1.value;
  2. var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
  3. if (!filter.test(email1)) {    
  4.      document.getElementById("email1").style.color="red";
  5.     if(language=="polish"){    
  6.     form.email1.value="***Proszę wpisać poprawny email!";}
  7.     else {form.email1.value="***Please enter the right email!";}
  8.     document.getElementById("email1").style.color="black"; <--change back
  9. return  false;             
  10. }
  11.  
because even when the field has incorrect value the font color is black instead of red
thank You
Feb 27 '08 #1
15 10042
tswaters
19 New Member
i change input font color when the input is incorrect but i want this input font color to be changed back when the input is correct
ah the beauty if the if/else statement. I think your polish language statement might be getting in the way..... you're basically saying if the email is invalid, set it to red, check the language & give the user a message... then set it back to black. it does all this in the blind of an eye.

Also, a message from a potential user filling out your form: "if i made a mistake on my email, I don't want to have it replaced with an error message, I want to see an error message next to the input".... anyway, i've replaced that part of it with a "thrower" function, which you can write yourself -- and can include the language statements

try this:

Expand|Select|Wrap|Line Numbers
  1. var email1= form.email1.value;
  2. var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
  3.  
  4. if (!filter.test(email1)) {    
  5.   document.getElementById("email1").style.color="red";
  6.   thrower("***Please enter the right email!");
  7. } else {
  8.   document.getElementById("email1").style.color="black";
  9. }
  10.  
Feb 27 '08 #2
oll3i
679 Contributor
i tried this why but then the form goes to the action file i mean that the return false doesnt work
Feb 27 '08 #3
hsriat
1,654 Recognized Expert Top Contributor
Expand|Select|Wrap|Line Numbers
  1. var email1= form.email1.value;
  2. var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
  3. if (!filter.test(email1)) {    
  4.     document.getElementById("email1").style.color="red";
  5.     if(language=="polish")     
  6.         form.email1.value="***Proszę wpisać poprawny email!";
  7.     else 
  8.         form.email1.value="***Please enter the right email!";
  9.     return  false;
  10. }
  11. else {
  12.     document.getElementById("email1").style.color="black"; <--change back
  13.     return true;
  14. }
  15.  
There's nothing wrong with the polish statement.

In line number 6 and 8, I think you may want to use alert, but I left the way it was.
Feb 27 '08 #4
oll3i
679 Contributor
but in my validator i have lots of other fields to check and if i write return true(when checking first field) it will go to the action file and send it to database
Feb 27 '08 #5
hsriat
1,654 Recognized Expert Top Contributor
but in my validator i have lots of other fields to check and if i write return true(when checking first field) it will go to the action file and send it to database
Then don't return true there, but do it in the end of the function after applying all the validations.
Feb 27 '08 #6
oll3i
679 Contributor
can i do document.getElementById("email1").style.color=="re d"; and then change it in to black if not how do i check what is the font color of input
Feb 27 '08 #7
hsriat
1,654 Recognized Expert Top Contributor
can i do document.getElementById("email1").style.color=="re d"; and then change it in to black if not how do i check what is the font color of input
I guess there's something wrong with your algorithm, can you please your code here.
Feb 27 '08 #8
oll3i
679 Contributor
hmm it's a bit loooong

[code=javascript]
function checkForm(form,number,language,companyNames,emails ){


var email1= form.email1.value;
var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if (!filter.test(email1)) {
document.getElementById("email1").style.color="red ";
if(language=="polish"){
form.email1.value="***Proszę wpisać poprawny email!";}
else {form.email1.value="***Please enter the right email!";}

return false;
}



for(var i=0;i<emails.length;i++){
if(form.email1.value==emails[i]){
document.getElementById("email1").style.color="red ";
if(language=="polish") {form.email1.value = "***Podany email jest już w bazie danych!";}
else {form.email1.value = "***Email already exists in our database!";}
break;
return false;}
}





var email2= form.email2.value;

if (!filter.test(email2)) {
document.getElementById("email2").style.color="red ";
if(language=="polish"){
form.email2.value="***Proszę wpisać poprawny email!";}
else {form.email2.value="***Please enter the right email!";}
return false;
}

if(document.getElementById("email2").style.color== "red")
document.getElementById("email2").style.color=="bl ack";

if(!form.email1.value==form.email2.value){
document.getElementById("email2").style.color="red ";
if(language=="polish"){
form.email2.value="***Proszę wpisać poprawny email!";}
else { form.email2.value="***Please enter the right email!";}
return false;
}







if(form.email1.value.length==0 || form.email1.value=="***Proszę wpisać email!" || form.email1.value=="***Please enter email!"){
document.getElementById("email1").style.color="red ";
if(language=="polish"){
form.email1.value="***Proszę wpisać email!";}
else {form.email1.value="***Please enter email!";}
return false;
}


if(form.email2.value.length==0 || form.email2.value=="***Proszę wpisać email!" || form.email2.value=="***Please enter email!"){
document.getElementById("email2").style.color="red ";
if(language=="polish"){
form.email2.value="***Proszę wpisać email!";}
else {form.email2.value="***Please enter email!";}
return false;}

if(document.getElementById("email2").style.color== "red")
document.getElementById("email2").style.color=="bl ack";

if (form.password1.value.length==0 ||form.password1.value.length<8) {
document.getElementById("password1").style.border= "solid red 2px";

return false;
}
if(document.getElementById("password1").style.bord er=="solid red 2px")
document.getElementById("password1").style.border= ="solid #6480A4 1px";


if (form.password2.value.length==0 ||form.password2.value.length<8) {
document.getElementById("password2").style.border= "solid red 2px";

return false;
}






if(form.password1.value!=form.password2.value){
document.getElementById("password2").style.border= "solid red 2px";
return false;
}






if(form.name.value.length==0 || form.name.value=="***Proszę wpisać Imię i Nazwisko!" || form.name.value=="***Please enter firstname and lastname!" ){
document.getElementById("name").style.color="red";
if(language=="polish"){
form.name.value="***Proszę wpisać Imię i Nazwisko!";}
else {form.name.value="***Please enter firstname and lastname!";}
return false;
}




if(!IsNumeric(form.phone.value)){
document.getElementById("phone").style.color="red" ;
if(language=="polish"){
form.phone.value="***Proszę wpisać poprawny numer telefonu!";}
else {form.phone.value="***Please enter the right phone number!";}
return false;}


if(document.getElementById("phone").style.color==" red")
document.getElementById("phone").style.color=="bla ck";

if(form.phone.value.length==0 || form.phone.value=="***Prosze wpisać numer telefonu!" || form.phone.value=="***Please enter phone number!"){
document.getElementById("phone").style.color="red" ;
if(language=="polish"){
form.phone.value="***Proszę wpisać numer telefonu!";}
else {form.phone.value="***Please enter phone number!";}
return false;
}








for(var i=0;i<companyNames.length;i++){
if(form.company_name.value==companyNames[i]){
document.getElementById("company_name").style.colo r="red";
if(language=="polish") {form.company_name.value = "***Podana firma jest już zarejestrowana w bazie danych!";break;return false;}
else {form.company_name.value = "***Company name already exists in our database!";break;return false;}
}
}




if(form.company_name.value.length==0 || form.company_name.value=="***Proszę wpisać nazwę firmy!" || form.company_name.value=="***Please enter company name!"){
document.getElementById("company_name").style.colo r="red";
if(language=="polish"){
form.company_name.value="***Proszę wpisać nazwę firmy!";}
else {form.company_name.value="***Please enter company name!";}
return false;}




if(form.country.selectedIndex== 0){
hideShow('client_insert_alert_location');
return false;}

if(form.sector.selectedIndex== 0){
hideShow('client_insert_alert_sector');
return false;}




var images=new Array("AzBd1X","BdYC8o","Ug6iYp");

if(images[number]!=form.confirmation.value){
document.getElementById("confirmation").style.colo r="red";
if(language=="polish") {form.confirmation.value = "***Prosze wpisać poprawny kod!";}
else {form.confirmation.value = "***Please enter the right code!";}
return false;
}






return true;
}[code]

thank You
Feb 27 '08 #9
oll3i
679 Contributor
it's a bit loooong

Expand|Select|Wrap|Line Numbers
  1.  
  2. function checkForm(form,number,language,companyNames,emails){
  3.  
  4.  
  5. var email1= form.email1.value;
  6. var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
  7. if (!filter.test(email1)) {    
  8.      document.getElementById("email1").style.color="red";
  9.     if(language=="polish"){    
  10.     form.email1.value="***Proszę wpisać poprawny email!";}
  11.     else {form.email1.value="***Please enter the right email!";}
  12.  
  13. return  false;             
  14. }
  15.  
  16.  
  17.  
  18. for(var i=0;i<emails.length;i++){
  19.     if(form.email1.value==emails[i]){
  20.         document.getElementById("email1").style.color="red";
  21.         if(language=="polish") {form.email1.value = "***Podany email jest już w bazie danych!";}
  22.         else {form.email1.value = "***Email already exists in our database!";}    
  23.         break;
  24.         return false;}
  25.      }    
  26.  
  27.  
  28.  
  29.  
  30.  
  31. var email2= form.email2.value;
  32.  
  33.     if (!filter.test(email2)) {
  34.         document.getElementById("email2").style.color="red";
  35.          if(language=="polish"){
  36.          form.email2.value="***Proszę wpisać poprawny email!";}         
  37.          else {form.email2.value="***Please enter the right email!";}
  38. return false;         
  39. }  
  40.  
  41. if(document.getElementById("email2").style.color=="red")
  42.     document.getElementById("email2").style.color=="black";
  43.  
  44.     if(!form.email1.value==form.email2.value){
  45.          document.getElementById("email2").style.color="red";
  46.          if(language=="polish"){
  47.          form.email2.value="***Proszę wpisać poprawny email!";}         
  48.          else { form.email2.value="***Please enter the right email!";} 
  49. return  false;
  50. }
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58. if(form.email1.value.length==0 || form.email1.value=="***Proszę wpisać email!" || form.email1.value=="***Please enter email!"){
  59.     document.getElementById("email1").style.color="red";
  60.     if(language=="polish"){
  61.     form.email1.value="***Proszę wpisać email!";}
  62.     else {form.email1.value="***Please enter email!";}
  63. return  false;
  64. }
  65. if(document.getElementById("email1").style.color=="red")
  66.     document.getElementById("email1").style.color=="black";
  67.  
  68. if(form.email2.value.length==0 || form.email2.value=="***Proszę wpisać email!" || form.email2.value=="***Please enter email!"){
  69.     document.getElementById("email2").style.color="red";
  70.     if(language=="polish"){
  71.     form.email2.value="***Proszę wpisać email!";}
  72.     else {form.email2.value="***Please enter email!";}
  73. return  false;}
  74.  
  75. if(document.getElementById("email2").style.color=="red")
  76.     document.getElementById("email2").style.color=="black";
  77.  
  78. if (form.password1.value.length==0 ||form.password1.value.length<8) {
  79.     document.getElementById("password1").style.border="solid red 2px";
  80.  
  81. return false;
  82. }
  83.  
  84.  
  85.  
  86. if (form.password2.value.length==0 ||form.password2.value.length<8) {
  87.     document.getElementById("password2").style.border="solid red 2px";
  88.  
  89. return false;
  90. }
  91.  
  92.  
  93.  
  94.  
  95.  
  96. if(form.password1.value!=form.password2.value){
  97.     document.getElementById("password2").style.border="solid red 2px";
  98. return  false;
  99. }
  100.  
  101.  
  102.  
  103.  
  104.  
  105. if(form.name.value.length==0 || form.name.value=="***Proszę wpisać Imię i Nazwisko!" ||  form.name.value=="***Please enter firstname and lastname!" ){
  106.         document.getElementById("name").style.color="red";
  107.         if(language=="polish"){        
  108.         form.name.value="***Proszę wpisać Imię i Nazwisko!";}         
  109.         else {form.name.value="***Please enter firstname and lastname!";}
  110. return  false;
  111. }
  112.  
  113.  
  114.  
  115.  
  116.  
  117. if(!IsNumeric(form.phone.value)){
  118.     document.getElementById("phone").style.color="red";
  119.         if(language=="polish"){        
  120.         form.phone.value="***Proszę wpisać poprawny numer telefonu!";}         
  121.         else {form.phone.value="***Please enter the right phone number!";}
  122. return  false;}
  123.  
  124.  
  125. if(document.getElementById("phone").style.color=="red")
  126.     document.getElementById("phone").style.color=="black";
  127.  
  128. if(form.phone.value.length==0 || form.phone.value=="***Prosze wpisać numer telefonu!" || form.phone.value=="***Please enter phone number!"){
  129.      document.getElementById("phone").style.color="red";
  130.         if(language=="polish"){        
  131.         form.phone.value="***Proszę wpisać numer telefonu!";}         
  132.         else {form.phone.value="***Please enter phone number!";}
  133. return  false;
  134. }
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143. for(var i=0;i<companyNames.length;i++){
  144.     if(form.company_name.value==companyNames[i]){
  145.         document.getElementById("company_name").style.color="red";
  146.         if(language=="polish") {form.company_name.value = "***Podana firma jest już zarejestrowana w bazie danych!";break;return false;}
  147.         else {form.company_name.value = "***Company name already exists in our database!";break;return false;}    
  148.     }
  149.     }
  150.  
  151.  
  152.  
  153.  
  154.  
  155. if(form.company_name.value.length==0 || form.company_name.value=="***Proszę wpisać nazwę firmy!" || form.company_name.value=="***Please enter company name!"){
  156.     document.getElementById("company_name").style.color="red";
  157.     if(language=="polish"){
  158.     form.company_name.value="***Proszę wpisać nazwę firmy!";}
  159.     else {form.company_name.value="***Please enter company name!";}
  160. return  false;}
  161.  
  162.  
  163.  
  164. if(form.country.selectedIndex== 0){
  165. hideShow('client_insert_alert_location');
  166. return false;}
  167.  
  168. if(form.sector.selectedIndex== 0){
  169. hideShow('client_insert_alert_sector');
  170. return false;}
  171.  
  172.  
  173.  
  174.  
  175. var images=new Array("AzBd1X","BdYC8o","Ug6iYp");
  176.  
  177. if(images[number]!=form.confirmation.value){
  178.     document.getElementById("confirmation").style.color="red";
  179.    if(language=="polish") {form.confirmation.value = "***Prosze wpisać poprawny kod!";}
  180.    else {form.confirmation.value = "***Please enter the right code!";}
  181. return  false;
  182. }
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189. return true;
  190. }
Feb 27 '08 #10
hsriat
1,654 Recognized Expert Top Contributor
Modify all the validations as I told you in my first post. Just don't write return true;.
Let that be in the end of the function as you have done.
Feb 27 '08 #11
oll3i
679 Contributor
when i add else statement it works only with the first field
thank You
Feb 27 '08 #12
oll3i
679 Contributor
Expand|Select|Wrap|Line Numbers
  1. function checkForm(form,number,language,companyNames,emails){
  2.  
  3.  
  4. var email1= form.email1.value;
  5. var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
  6. if (!filter.test(email1)) {    
  7.      document.getElementById("email1").style.color="red";
  8.     if(language=="polish"){    
  9.     form.email1.value="***Proszę wpisać poprawny email!";}
  10.     else {form.email1.value="***Please enter the right email!";}
  11.  
  12. return  false;             
  13. }else {document.getElementById("email1").style.color="black";}
  14.  
  15.  
  16.  
  17.  
  18. for(var i=0;i<emails.length;i++){
  19.     if(form.email1.value==emails[i]){
  20.         document.getElementById("email1").style.color="red";
  21.         if(language=="polish") {form.email1.value = "***Podany email jest już w bazie danych!";}
  22.         else {form.email1.value = "***Email already exists in our database!";}    
  23.         break;
  24.         return false;
  25.      }    else {document.getElementById("email1").style.color="black";}
  26.  
  27.  
  28. if(form.email1.value!=form.email2.value){
  29.          document.getElementById("email2").style.color="red";
  30.          if(language=="polish"){
  31.          form.email2.value="***Proszę wpisać poprawny email!";}         
  32.          else { form.email2.value="***Please enter the right email!";} 
  33. return  false;
  34. }else {document.getElementById("email2").style.color="black";}
  35.  
  36. var email2= form.email2.value;
  37.  
  38.     if (!filter.test(email2)) {
  39.         document.getElementById("email2").style.color="red";
  40.          if(language=="polish"){
  41.          form.email2.value="***Proszę wpisać poprawny email!";}         
  42.          else {form.email2.value="***Please enter the right email!";}
  43. return false;         
  44. }else {document.getElementById("email2").style.color="black";}  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56. if(form.email1.value.length==0 || form.email1.value=="***Proszę wpisać email!" || form.email1.value=="***Please enter email!"){
  57.     document.getElementById("email1").style.color="red";
  58.     if(language=="polish"){
  59.     form.email1.value="***Proszę wpisać email!";}
  60.     else {form.email1.value="***Please enter email!";}
  61. return  false;
  62. }else {document.getElementById("email1").style.color="black";}
  63.  
  64.  
  65.  
  66.  
  67. if(form.email2.value.length==0 || form.email2.value=="***Proszę wpisać email!" || form.email2.value=="***Please enter email!"){
  68.     document.getElementById("email2").style.color="red";
  69.     if(language=="polish"){
  70.     form.email2.value="***Proszę wpisać email!";}
  71.     else {form.email2.value="***Please enter email!";}
  72. return  false;
  73. } else {document.getElementById("email2").style.color="black";}
  74.  
  75.  
  76.  
  77. if (form.password1.value.length==0 ||form.password1.value.length<8) {
  78.     document.getElementById("password1").style.border="solid red 2px";
  79.  
  80. return false;
  81. }else {document.getElementById("password1").style.border="solid #6480A4 1px";}
  82.  
  83.  
  84.  
  85.  
  86. if (form.password2.value.length==0 ||form.password2.value.length<8) {
  87.     document.getElementById("password2").style.border="solid red 2px";
  88.  
  89. return false;
  90. }else {document.getElementById("password2").style.border="solid #6480A4 1px";}
  91.  
  92.  
  93.  
  94.  
  95.  
  96. if(form.password1.value!=form.password2.value){
  97.     document.getElementById("password2").style.border="solid red 2px";
  98. return  false;
  99. }else {document.getElementById("password2").style.border="solid #6480A4 1px";}
  100.  
  101.  
  102.  
  103.  
  104.  
  105. if(form.name.value.length==0 || form.name.value=="***Proszę wpisać Imię i Nazwisko!" ||  form.name.value=="***Please enter firstname and lastname!" ){
  106.         document.getElementById("name").style.color="red";
  107.         if(language=="polish"){        
  108.         form.name.value="***Proszę wpisać Imię i Nazwisko!";}         
  109.         else {form.name.value="***Please enter firstname and lastname!";}
  110. return  false;
  111. }else {document.getElementById("name").style.color="black";}
  112.  
  113.  
  114.  
  115.  
  116. if(!IsNumeric(form.phone.value)){
  117.     document.getElementById("phone").style.color="red";
  118.         if(language=="polish"){        
  119.         form.phone.value="***Proszę wpisać poprawny numer telefonu!";}         
  120.         else {form.phone.value="***Please enter the right phone number!";}
  121. return  false;
  122. }else {document.getElementById("phone").style.color="black";}
  123.  
  124.  
  125.  
  126. if(form.phone.value.length==0 || form.phone.value=="***Prosze wpisać numer telefonu!" || form.phone.value=="***Please enter phone number!"){
  127.      document.getElementById("phone").style.color="red";
  128.         if(language=="polish"){        
  129.         form.phone.value="***Proszę wpisać numer telefonu!";}         
  130.         else {form.phone.value="***Please enter phone number!";}
  131. return  false;
  132. }else {document.getElementById("phone").style.color="black";}
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139. for(var i=0;i<companyNames.length;i++){
  140.     if(form.company_name.value==companyNames[i]){
  141.         document.getElementById("company_name").style.color="red";
  142.         if(language=="polish") {form.company_name.value = "***Podana firma jest już zarejestrowana w bazie danych!";break;return false;}
  143.         else {form.company_name.value = "***Company name already exists in our database!";break;return false;}    
  144.     }else {document.getElementById("company_name").style.color="black";}
  145.     }
  146.  
  147.  
  148.  
  149.  
  150. if(form.company_name.value.length==0 || form.company_name.value=="***Proszę wpisać nazwę firmy!" || form.company_name.value=="***Please enter company name!"){
  151.     document.getElementById("company_name").style.color="red";
  152.     if(language=="polish"){
  153.     form.company_name.value="***Proszę wpisać nazwę firmy!";}
  154.     else {form.company_name.value="***Please enter company name!";}
  155. return  false;
  156. }else {document.getElementById("company_name").style.color="black";}
  157.     }
  158.  
  159.  
  160.  
  161.  
  162. if(form.country.selectedIndex== 0){
  163. hideShow('client_insert_alert_location');
  164. return false;}
  165.  
  166. if(form.sector.selectedIndex== 0){
  167. hideShow('client_insert_alert_sector');
  168. return false;}
  169.  
  170.  
  171.  
  172.  
  173. var images=new Array("AzBd1X","BdYC8o","Ug6iYp");
  174.  
  175. if(images[number]!=form.confirmation.value){
  176.     document.getElementById("confirmation").style.color="red";
  177.    if(language=="polish") {form.confirmation.value = "***Prosze wpisać poprawny kod!";}
  178.    else {form.confirmation.value = "***Please enter the right code!";}
  179. return  false;
  180. }else {document.getElementById("confirmation").style.color="black";}
  181.     }
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188. return true;
  189. }
  190.  
Feb 27 '08 #13
hsriat
1,654 Recognized Expert Top Contributor
There might be some problem with your algorithm.

Keep the general algorithm, like this..
Expand|Select|Wrap|Line Numbers
  1. Do Validation 1
  2. If not valid {
  3.     turn color = red
  4.     if language is Polish {
  5.         show error in Polish
  6.         }
  7.     else  { //if language is not polish
  8.         show error in English
  9.     }
  10.     return false
  11. else { //if valid
  12.     turn color = black
  13. }
  14. Do Validation 2
  15. If not valid {
  16.     turn color = red
  17.     if language is Polish {
  18.         show error in Polish
  19.         }
  20.     else  { //if language is not polish
  21.         show error in English
  22.     }
  23.     return false
  24. else { //if valid
  25.     turn color = black
  26. }
  27. Do Validation 3
  28. If not valid {
  29.     turn color = red
  30.     if language is Polish {
  31.         show error in Polish
  32.         }
  33.     else  { //if language is not polish
  34.         show error in English
  35.     }
  36.     return false
  37. else { //if valid
  38.     turn color = black
  39. }
  40. //do all validations like this
  41.  
  42. return true;
Suggestion: Format your code properly so that in case there's any bug, its easily traceable.
Feb 27 '08 #14
oll3i
679 Contributor
thank You
it works now :)
Feb 27 '08 #15
hsriat
1,654 Recognized Expert Top Contributor
thank You
it works now :)
Glad to know that. :)
Feb 28 '08 #16

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

Similar topics

2
by: Eric Pickup | last post by:
I'm having a problem with the following html (I've simplified it down to a simple test case). Could anyone point out why Mozilla is having problems with this (I've tried so many variations that I...
22
by: David. E. Goble | last post by:
Hi All; I have a few of these; sigsImages="sigs/finished1.jpg" sigsImages="sigs/foghorn.jpg" lower I have;
3
by: davidkarlsson74 | last post by:
Error: document.getElementById("folderMenu").cells has no properties File: http://www.volkswagen.se/tillbehor/js/foldermenu.js Rad: 49 The function activates different DIV:s, but doesn't seem to...
6
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - Why doesn't the global variable "divId" always refer to the element with id="divId"?...
3
by: rkhurana | last post by:
Hi I am writing a JSF application that uses some third party charts. While I can see the chart but the javascript that is supposed to calla function to update chart periodically has a problem. It...
1
by: msg2ajay | last post by:
hi, i am working on <div> i have to hide some part of the table. I am not able to hide that table part can anybady tell me where is the error. <html> <head> <script...
3
by: karprix | last post by:
Hi, I am working on a webapplication,( with Ajax & JSF) where I want to retrieve the value present in a <t:inputText id="starttimeScheduler" value="#{scheduledJobCreateEdit.startTimeDate}"...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.