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
Blank screen After WIn XP splash screen.
Service policy is in suspended mode
Combobox values default
Follow up php question - php mailer
excel vba number of rows
How do most developer handle localization in .NET?
first try with Access 2003 and SOAP -- any ideas what's wrong?
PHP for loop - help with POST data
How to redirect requests to a particular web site to a local server?
Excel - VBA text formatting