Hey guys i have a table made and when a value changes i want to update the table to the new value so other can see it on their screen. example ( if i update the status dropdown too unavailable i want other users to see that change) Anyone have any suggestions on doing this?

<table id="table">
                <thead>
                    <tr>
                        <th>Employee Name</th>
                        <th>Status</th>
                        <th>Notes</th>
                    </tr>
                </thead>
                <tbody
                        <tr>
                            <td id="emp1">emp name</td>
                            <td id="stat1">
                            <select id="status" name="status" >
                            <option value="In">In</option>
                            <option value="Out">Out</option>
                            <option value="Unavailable">Unavailable</option>
                            </select></td>
                            <td id="note1"><textarea placeholder="Notes" rows="4" cols="30"></textarea></td>

                    </tr>
                        <tr>
                            <td id="emp2">emp name</td>
                            <td id="stat2">
                            <select id="status" name="status" >
                            <option value="In">In</option>
                            <option value="Out">Out</option>
                            <option value="Unavailable">Unavailable</option>
                            </select>
                            </td>
                            <td id="note2"><textarea placeholder="Notes" rows="4" cols="30"></textarea></td>
                        </tr>
                        <tr>
                            <td id="emp3">emp name</td>
                            <td id="stat3">
                            <select id="status" name="status" >
                            <option value="In">In</option>
                            <option value="Out">Out</option>
                            <option value="Unavailable">Unavailable</option>
                            </select>
                            </td>
                            <td id="note3"><textarea placeholder="Notes" rows="4" cols="30"></textarea></td>
                        </tr>
                        <tr>
                            <td id="emp4">emp name</td>
                            <td id="stat4">
                            <select id="status" name="status" >
                            <option value="In">In</option>
                            <option value="Out">Out</option>
                            <option value="Unavailable">Unavailable</option>
                            </select>
                            </td>
                            <td id="note4"><textarea placeholder="Notes" rows="4" cols="30"></textarea></td>
                        </tr>
                        <tr>
                            <td id="emp5">emp name</td>
                            <td id="stat5">
                            <select id="status" name="status" >
                            <option value="In">In</option>
                            <option value="Out">Out</option>
                            <option value="Unavailable">Unavailable</option>
                            </select>
                            </td>
                            <td id="note5"><textarea placeholder="Notes" rows="4" cols="30"></textarea></td>
                        </tr>
                        <tr>
                            <td id="emp6">emp name</td>
                            <td id="stat6">
                            <select id="status" name="status" >
                            <option value="In">In</option>
                            <option value="Out">Out</option>
                            <option value="Unavailable">Unavailable</option>
                            </select>
                            </td>
                            <td id="note6"><textarea placeholder="Notes" rows="4" cols="30"></textarea></td>
                        </tr>
                        <tr>
                            <td id="emp7">emp name</td>
                            <td id="stat7">
                            <select id="status" name="status" >
                            <option value="In">In</option>
                            <option value="Out">Out</option>
                            <option value="Unavailable">Unavailable</option>
                            </select>
                            </td>
                            <td id="note7"><textarea placeholder="Notes" rows="4" cols="30"></textarea></td>
                        </tr>
                        <tr>
                            <td id="emp8">emp name</td>
                            <td id="stat8">
                            <select id="status" name="status" >
                            <option value="In">In</option>
                            <option value="Out">Out</option>
                            <option value="Unavailable">Unavailable</option>
                            </select>
                            </td>
                            <td id="note8">
                            <textarea placeholder="Notes" rows="4" cols="30"></textarea>
                            </td>
                        </tr>

                </tbody>
            </table>
    </body>
</html>

What do you mean by others seeing the changes? Do you mean other visitors?

If so, you'll need help from some server side scripting and a data source of some type to store and retrieve the data.

yea other visitors, I was hoping not to use a db for it but im thinking thats my best bet.

Yes, you need to store the information server side if you want to be able to maintain data for users to see if they revisit your site. The data can be easily store in a database, but it can also be stored in a file on the server's file system.

What you arent asking isnt that complex using PHP, ASP.NET, Java, etc... Any of those server side scripting languages familiar to you?

yea i can do it easily with php, thanks.

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.