gardan06 Posted July 3, 2008 Share Posted July 3, 2008 well basically, i'm trying to have either an edit button or add button appear depending on an inputted item. if the item already exists on the database, the edit button appears. if it doesnt, the add button appears. the button positions are like this(they're hidden by default): Clear Add Edit i want the edit button to appear in the same position as the add button because for sure, they wont be appearing at the same time, but unfortunately, i had difficulty doing that. can anyone help me? i'd really appreciate your immediate response. thank you. Gardan Quote Link to comment Share on other sites More sharing options...
dannyb785 Posted July 3, 2008 Share Posted July 3, 2008 Can you give an example? Quote Link to comment Share on other sites More sharing options...
gardan06 Posted July 3, 2008 Author Share Posted July 3, 2008 oh i got it. instead of using style.visibility set to hidden or visible, i used a span tag and set style.display to inline or none. thanks for the help guys. 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.