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
Small Business Server 2008 Static IP change
Calculated variable on server...
How do I design network for failover to a secondary internet connection?
PayPal Express Checkout Module
Blackberry enterprise activation: Cannot find server
ADSL router/cisco switch
BSOD Windows 2008 R2 Hyper-V
When does a DBMS become necessary/very useful to use in conjunction with ArcGIS? (rather than doing everything with ArcGIS)
Failed to allocate port error when configuring EM (Oracle 11g)
How do I remove Office XP and 2003 using Msizap.exe from a command line?