yaron
09-26-2003, 08:39 AM
I want that a certain output will be visible or invisible on a click of a button.I thought maybe javascript with <div> tag can help me with that.
|
Click to See Complete Forum and Search --> : hope it's possible... yaron 09-26-2003, 08:39 AM I want that a certain output will be visible or invisible on a click of a button.I thought maybe javascript with <div> tag can help me with that. Khalid Ali 09-26-2003, 09:12 AM what do u mean with the "a certain output" is visible, are you talking about an input field? or u are talking about some text value which is on the page but is only visible with the click of a button? yaron 09-26-2003, 09:15 AM I'm talking about a table that I built which can be too long. not an input of some sort just regular html output (well, php rather than html but its the same) because of its length the user may not want to see it only by a click of a button. yaron 09-30-2003, 11:32 AM I'm breaking my head with this one. my JavaScript is not that good and I'm trying to hide and show a specific display (a table in this case) by a click of a button. any ideas? tinernet 09-30-2003, 02:52 PM yeah its possible to: <input type="button" onclick="document.getElementById[divid].style='display:none'"> the only think that im not sure about that is the divid bit i dont kno if getElementById only calls form ids so that prob wont work. thats the way to make things invisible tho so play around or talk to sum1 more experienced...... webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |