Microsoft
Software
Hardware
Network
Question : Function needs help with if this or this then that
Hi, I've got this function here that I need to work on 2 levels.
function subit_confirm_update(){
if((document.getElementByI
d("savesta
tus").inne
rHTML=='')
or (document.getElementById("
savestatus
").innerHT
ML=='Saved
')){
alert("No update needed.");
return false;
}
}
though this doesn't work, would anyone provide a working function for this example?
Answer : Function needs help with if this or this then that
Could you please mention what your code is trying to do (exact reqquirements) at first place?
var value = document.getElementById("s
avestatus"
).innerHTM
L;
if ( value.length == 0 || value == "Saved")
{
alert("No update needed.");
return false;
}
Random Solutions
Another DOM question
Outlook 2007 w/ Exchange 2010 empty folder
difference between AD integrated dns server and dns server
Exchange 2010 Public Folder Error
RDP Background Windows
.NET FTP Control
Dell PowerEdge Perc 4e/Di RAID 1 expansion
New Linksys E3000 has "FastMagnolia-guest" connection that is unsecured.
Sonicwall Rule Issue
PHP and concurrent access to files ?