Hi. We have just tried our 2nd brand new P4P8X board and it still doesn't post. All we get is the green power light on the board. No fan or drive power. No power light on the case. We have tried 2 PSU's and different memory. We have also bypassed the power switch using a jumper. Still nothing...
Aha, didn't realise it was a >1 sized select box. The selectedIndex will be -1 if nothing is selected. Try this:
function PreviewItem(){
if(frm.tid.selectedIndex>=0){
previewframe.window.location.replace("set_template_preview.asp?ID=" +...
I've pasted the html below with the extra form tags removed:
<html>
<head>
<title>WEB REQUEST</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#D8D8D8">
<FORM METHOD="POST" ACTION="http://www.name.com/cgi-bin/mailto">
<INPUT TYPE="HIDDEN"...
This will check for the null value in JS. Hope I'm on the right track:
function PreviewItem(){
if(frm.tid.options[frm.tid.selectedIndex].value!=''){
previewframe.window.location.replace("set_template_preview.asp?ID=" + frm.tid.options[frm.tid.selectedIndex].value);
}
return...
I suppose you could set the top option text to 'Please select' with a value of ''. Your function can then check if the select element value is '' or not. If not then an option has been selected.
ASCII silly question, get a silly ANSI
Hi, I've written the code below to open a new window. However on a Mac running IE5.2 the window height seems to be ignored and is less than half of what it should be. This is a problem especially as I need the scrollbars disabled as well. My code is:
myWin4=window.open("myPage.asp"...
Hi. I've written a Java applet that works fine on pc's but when viewed on a Mac with IE 5.2 it returns this error:
java.security.Access Control Acception; Access denied.
Does anyone know what this means and how to overcome it?
Many thanks in advance.
ASCII silly question, get a silly ANSI
Oops, here's the code:
int weightAr[] = new int[stringtokenizer.countTokens()];
for(int i = 0; i < weightAr.length-1; i++)
weightAr[i] = (int)Integer.parseInt(stringtokenizer.nextToken());
ASCII silly question, get a silly ANSI
Hi. I have a string that contains delimited ints and floats and these are converted and read into an array. It works fine until a float appears, then I get the numberException error. I have tried casting etc but to no avail. I only need ints in the array so I'm not worried about the fractions...
Try something like this:
myStr="My dog chased this dog and that dog."
targetStr="dog"
swapStr="cat"
ix=InStrRev(myStr,targetStr)
If ix>0 Then myStr=Left(myStr,ix-1) & Replace(Mid(myStr,ix),swapStr)
ASCII silly question, get a silly ANSI
Hi. I have written a bunch of asp's to manage an Access database. It has been working fine until I had an 'Unrecognized database format' error appear on the webpage. After this the database becomes corrupt and unusable.
Upon investigation using a back up database it seems that a loop that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.