How will we change border color through Javascript?

 Posted by vishalneeraj-24503 on 5/6/2014 | Category: JavaScript Interview questions | Views: 276 | Points: 40
Answer:

We will write below code in javascript function to change border color
document.getElementById("div1").style.borderColor  = "green";

document.getElementById("btn_save").style.borderColor = "blue";


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response