Onload event Script from previous versions don't work on PHPR 6 |
12/11/2011 4:21:38 PM |
PHPRunner General questions | |
N
Nelson author
Hi,
|
|
S
|
stiven 12/12/2011 |
instead of using this if (document.forms.editform1.value_Category_1.value=="Cars and Light Commercials") |
N
|
Nelson author 12/12/2011 |
instead of using this if (document.forms.editform1.value_Category_1.value=="Cars and Light Commercials") try using document.getElemtById if (document.getElementById('value_Category_1').value=="Cars and Light Commercials")
if (document.forms.editform1.value_Category_1.value=="Cars and Light Commercials")
if (document.getElementById('value_Category_1').value=="Cars and Light Commercials")
|
S
|
stiven 12/12/2011 |
im not sure why, can you update the code on the example website you gave us?
|
N
|
Nelson author 12/12/2011 |
im not sure why, can you update the code on the example website you gave us? also try to using the first conditional it is the same as the last one you don't need another one.
document.getElementById("hidediv1").style.display="none";
|