Page is a not externally linkable
andrewsmd - 2:20 pm on Jun 12, 2008 (gmt 0)
OK all you people out there that are smarter than me I need some assistance. I'm fairly new to JavaScript and I have a problem. I have a form that runs an external php file via JavaScript when the user clicks a checkbox. The php files runs some checks on a few folders and displays output within a JavaScript alert box if needed. However, if all of my if statements check out I want to just display everything is fine, but not in an alert box just on the page. Basically I have a tag that looks like this;
<INPUT type="hidden" class = "message" STYLE="background-color: #339999; border: 0; color: white;" value = "Everything is Fine" />
Now what I want to do is use JavaScript or php (preferred) to change the value of that box to 'text'. Any help is appreciated. Thanks,