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
Problem with EFS Recovery
Question about Exchange 2010 mailbox move.
php like zen cart want return to be categories instead of products
Windows Server 2008 R2: missing start menu of installed applications
Ethernet crossover cable connect
get 550 5.7.1. Unable to relay for specific domains....
How to Stop Procedure Running after Message Box Displayed
Need help to seperate Select output using TABs
PHP QUESTION - OSCOMMERCE - How to remove short description underneath products in Oscommerce 2.2
Cannot open xlsx attachement Outlook 2007