Hi,

I Show list of standards in one select box, Based on that selection, I will display the related section in another select box, after that I will nter remaining fields normally, then it will save into DB.

My question, How to edit that second Select box values in ajax which are stored in to DB.
My sample ajax format is

    <select name="state" onchange="showState(this.value);"> <option value="">--Select--</option> <option value="India"></option> <option value="US"></option> <option value="Australia"></option> <option value="England"></option> </select> <script type="text/javascript">
    function showState(alt)
    {
    alert(alt);
    Here I wrote the ajax funtion
    }
    </script>

I want to edit this value while editing after inserting . Is there any way? Its urgent.

Recommended Answers

All 2 Replies

Member Avatar for diafol

Its urgent.

Kiss of death.

From the sticky on the PHP forum (a general point):

Do not tell us how urgent your problem is. Seriously, for us there is no urgency at all. Many that can help will ignore any URGENT or ASAP requests.

ok I will wait.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.