Microsoft
Software
Hardware
Network
Question : Javascript visiblity
I'm trying to write a simiple function that makes a div visible or invisible in Javascript,
Please show me whats wrong with this code
type=radio name="address_type" value="1" checked onClick="showHide('box');"
>
Postal
Box
The Postal Box fields here
Answer : Javascript visiblity
You got to much code there for that.
Here this guy will tell you 7 ways
http://www.dustindiaz.com/
seven-togg
lers/
something like this is all you need
function toggle(obj) {
var el = document.getElementById(ob
j);
if ( el.style.display != 'none' ) {
el.style.display = 'none';
}
else {
el.style.display = '';
}
}
also make sure you're using a javascript bugger. You're going to have a lot of headaches if you're debugging javascript by watching for the little script error icon. At least use FF's script debugger.
Random Solutions
Trying to Force a Particualr Windows Color Scheme through group polciy and cannot find where to set it at
MS Access 2007, External table is not in the specified format (error 3274)
how to write a cursor to loop through the records of one table and insert them into another table?
Read Receipt from Public folder mail enable account
BIOS
Telnet: Send mail
Word 2003 Crashes and only runs in safe mode
IT Consulting firm name ideas
Google AdWords: Cost too much?
Waiting for a Worker thread