abhinavsingh89 Posted April 21, 2010 Share Posted April 21, 2010 <select name="status" id="status" onchange="chng();"> <option selected="selected">Incomplete</option> <option>Delivered</option> Now when the value is changed i want to update some values in database... so basically want to call a function or you can say want to execute a piece of code of php when the delivered option is selected... Now i want to know how can i achieve this... Quote Link to comment Share on other sites More sharing options...
Mchl Posted April 21, 2010 Share Posted April 21, 2010 Do you know Ajax? Because you will need it here. Quote Link to comment Share on other sites More sharing options...
abhinavsingh89 Posted April 21, 2010 Author Share Posted April 21, 2010 no i dun... is there any other way?? Quote Link to comment Share on other sites More sharing options...
Ken2k7 Posted April 21, 2010 Share Posted April 21, 2010 no i dun... is there any other way?? Well, you can make it a Flash, Java or a C#/ASP.NET application. Otherwise, yes, you need AJAX. Quote Link to comment Share on other sites More sharing options...
seventheyejosh Posted April 21, 2010 Share Posted April 21, 2010 Which if you know Javascript, is easy as pie Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.