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
Multiple Outlook profiles
Best wireless access to an HP Deskjet F4500 - time capsule or no?
Java Scripted Roll-over Sound Files do not work in Google Chrome
SNAPVIEW.OCX
assign unique links to images drawn from directory
Best way to Show/Hide a Div (Jquery, JavaScript)
Exchange restore using ntbackup
Is the reverse lookup in Exchange 20010 needed to send and receive
Rules at the mailbox level via Exchange
Cross Domain Authentication System Error 5