www.webdeveloper.com
Results 1 to 2 of 2

Thread: adding background image to options in select box

  1. #1
    Join Date
    Jan 2009
    Posts
    8

    Question adding background image to options in select box

    hi guys,
    im using a javascript to add options to the select box as below:

    function addOption(selectbox, value, text )
    {
    var optn = document.createElement("OPTION");
    optn.text = text;
    optn.value = value;
    selectbox.options.add(optn);
    }

    i wanted to add a backgraound image to the options in the select box.

    Please help me.

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Not possible.

    please do not cross-post.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles