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
How do i download my dreamweaver site to a different computer than the one I uploaded it on?
i want my phone number should accept ( ) -/ \ and number characters
Terminal Services lock down question
How do web hosting providers keep public ip addresses live when one ISP fails
Weirder than usual HP desktop problem – power supply - motherboard?
Parse autosys jil file using Unix tools
delays in receiving email internally
Validation of viewstate MAC failed? How I fix it?
Trigger destroys previous trigger
How to find CD Burning folder path in c# and operating system as a XP?