I'm not a JS guy but I do have a programming background. I'm trying to use style to make bar1 visible and set the border to black onclick of a submit button. Can someone give me the correct syntax for the code below. With this code, bar1 is becoming visible but I can't get the black border around it. I need to know how to string two style properties together using this method and the correct JS keyword for "bordercolor". I've been spending way to much time trying to reslolve this.
[code]
onclick="javascript:bar1.style.visibility='visible';bar1.style.borderColor='black'">
[end code]
Thx...Franko



.
Reply With Quote



Bookmarks