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
HP StorageWorks Modular Smart Array 1000 Question
Microsoft access 2010 pegs the CPU
publishing websites in TMG 2010
IIS Web site works in all browsers except Safari on Mac
notification
Http dynamic Compression not work if We using text/html
parse url in JavaScript
Access / how many users connected?
Should Sys Admins (Domain Admins) also have user accounts?
DR solution for data warehouse