M
Markus
Hallo
I hope some one can help me with this code what i want it to do if the
IndexOf equals / then i want it to go to the function called Box but it does
not work why not.
Thank you
Markus
function redirect2(z){
var string1=temp1[z].value
if (string1.indexOf("/")==-1)
{
Box()
}
else {
window.location=temp1[z].value
return false
}
}
function box(){
if(document.FrontPage_Form1.CDS_ID.value == "")
alert("Test")
return false
}
}
I hope some one can help me with this code what i want it to do if the
IndexOf equals / then i want it to go to the function called Box but it does
not work why not.
Thank you
Markus
function redirect2(z){
var string1=temp1[z].value
if (string1.indexOf("/")==-1)
{
Box()
}
else {
window.location=temp1[z].value
return false
}
}
function box(){
if(document.FrontPage_Form1.CDS_ID.value == "")
alert("Test")
return false
}
}