Codeman0013 Posted June 20, 2006 Share Posted June 20, 2006 Hey i have 2 select menu's that are side by side with 2 buttons between them one that moves one way and one the other. The left menu displays the current information of the doctor and the right menu displays all the possible ones that can move into the left one. My question is how do i make the table realise whats being moved and then check the database and see if its there and if not add it and if it is delete it if its b eing changed... Link to comment Share on other sites More sharing options...
aspnetguy Posted June 20, 2006 Share Posted June 20, 2006 you cannot access a database with only javascript. Look into server side lanaguages (PHP, ASP) and AJAX Link to comment Share on other sites More sharing options...
Codeman0013 Posted June 20, 2006 Author Share Posted June 20, 2006 you cannot access a database with only javascript. Look into server side lanaguages (PHP, ASP) and AJAX<{POST_SNAPBACK}> this is a VBScript page i was hoping to do it where when the user clicks the button it would automatically post back and add that information to the page i dont know if it is right though Link to comment Share on other sites More sharing options...
aspnetguy Posted June 20, 2006 Share Posted June 20, 2006 sorry I assumed you were using Javascript since you did post in the javascript forum . I will move this to ASP. You are using ASP(vbscript) right? Link to comment Share on other sites More sharing options...
justsomeguy Posted June 20, 2006 Share Posted June 20, 2006 The easiest way to do something like that is just to delete everything in the database and then add what is in the box. Even if you re-add everything, at least you don't have to check for every single item. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now