The Tech Pursuit
The Dev Shelf
Pages
Home
Interview Questions
About Me
April 21, 2011
Add dropdown items in Javascript
document.getElementById("ddlCallType").options[0] = new Option("Franchisee","Franchisee");
document.getElementById("ddlCallType").options[1] = new Option("Sales Calls","Sales Calls");
document.getElementById("ddlCallType").options[2] = new Option("Service Calls","Service Calls");
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment