Results 1 to 4 of 4

Thread: Use of combobox in script

  1. #1
    Join Date
    Jan 2010
    Posts
    29

    Use of combobox in script

    Hi,
    I would like to dynamically add ComboBox with its contents in PHP.
    Untill now I have been able to add ComboBox of static type with its contents, but I found that my PHP script gets fails.
    My desktop is loaded with the Linux.
    I hope that someone can help me to solve my problem.
    have a nice day!

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Nitobi's UI suite of Ajax components

    I suggest you to try Combobox component, part of Nitobi's UI suite of Ajax components this provides you a drop-down menu with autocomplete functionality.

    It includes:

    1. It provides Advanced Ajax support to perform wthout postbacks on-the-fly data requests.
    2. It offers six search modes. Features smartlist, smartsearch, paging, filtering, compact and unbound modes.
    3. It is fully skinnable through CSS templates.
    4. It is an Internationalizatized.
    5. With Adobe Dreamweaver it is Easy to integrate.
    6. It provides Unparalleled browser support. It supports most of the modern browsers.

  3. #3
    Join Date
    Apr 2008
    Posts
    2,005

    Javascript

    Instead, you can also use javascript your pre-populated drop-down lists to make visible or hidden.,
    For example:
    1. To hide it , your form offers drop-down list 1 and CSS properties of drop-down list 2 by default.
    2. User also select from drop-down 1.
    3. There is an add button on the form.
    4. User calls java to change the CSS properties of drop-down 2 to display by clicking on the add button.

  4. #4
    Join Date
    May 2008
    Posts
    2,012

    Re: Use of combobox in script

    According to my opinion, You have to try the following:

    The following example states that how to validate the combo box using JavaScript validation.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE>ComboBox Validation</TITLE>

    <script Language="JavaScript">
    function validateS(){
    var selCombobox=(cboForm.technol.value);
    if (selCombobox=="-1") {
    alert("Please Select Technology");
    return false;
    }
    return true;
    }
    </script>

Similar Threads

  1. Need Help With ComboBox
    By Reyas in forum Software Development
    Replies: 1
    Last Post: 29-04-2012, 12:53 PM
  2. Combobox and Text value
    By HarshaB in forum Software Development
    Replies: 5
    Last Post: 09-11-2009, 07:16 PM
  3. How to lock combobox
    By JamesB in forum Software Development
    Replies: 3
    Last Post: 19-03-2009, 07:20 PM
  4. Add ComboBox in DataGrid in VB 6.0
    By Jateen in forum Software Development
    Replies: 3
    Last Post: 15-01-2009, 06:31 PM
  5. How to add file content to combobox
    By MikeY007 in forum Software Development
    Replies: 3
    Last Post: 11-10-2008, 03:58 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,552,420.01242 seconds with 17 queries