Great Lakes 4x4. The largest offroad forum in the Midwest banner
1 - 20 of 36 Posts

· Premium Member
Joined
·
46,076 Posts
Discussion Starter · #1 ·
in IE 5,6,7 it yields a page error saying "}" expected on line 42. I highlighted line 42 in yellow. Line 42 is basically saying exactly what IE is expecting, yet it pops up the error. I don't know much about opening and closing brackets.. argh....

IE 8, and all versions of mozilla seem to be happy with this script.




</script>

<script type="text/javascript">
var checkobj
function agreesubmit(el){
checkobj=el
if (document.all||document.getElementById){
for (i=0;i<checkobj.form.length;i++){ //hunt down submit button
var tempobj=checkobj.form.elements
if(tempobj.type.toLowerCase()=="submit")
tempobj.disabled=!checkobj.checked
}
function defaultagree(el){
if (!document.all&&!document.getElementById){
if (window.checkobj&&checkobj.checked)
return true
else{
alert("Please read/accept terms to submit form")
return false
}
</script>
<script type="text/javascript">
function checkCheckBox(f){
if (form1.agree.checked == false )
{
alert('You must agree to the Terms and Conditions to continue.');
return false;
}else
return true;
}
</script>
 

· Registered
Joined
·
5,719 Posts
Wait a minute. It looks like you have two conflicting things going on here. This part reads:
if (window.checkobj&&checkobj.checked)
return true
else{
alert("Please read/accept terms to submit form")
return false
}
Now look at lines 39-42:
return false;
}else
return true;
}
I think that { after else should be the same for line 42. You have ; after the returns in line 439 and 41 but not that part either. I would think those lines should be
return false
else{
return true
}
I only took one programming class and it was not Java but I know how anal these things can get.
 

· Pew pew!
Joined
·
18,182 Posts
I have a call in to Java's helpdesk call center, I was hoping you would answer the phone.
I'd probably hang up on you. Besides, that's not my area of expertise. Since I haven't been laid off, I haven't had the life experience of having to constantly move all over the country and date women with children fathered from other men.

Now if I had gone through all that, I'd probably be able to help you with your Java related concerns.
 

· WWSD - What would stan do
Joined
·
11,199 Posts
I'd probably hang up on you. Besides, that's not my area of expertise. Since I haven't been laid off, I haven't had the life experience of having to constantly move all over the country and date women with children fathered from other men.

Now if I had gone through all that, I'd probably be able to help you with your Java related concerns.

:sonicjay::sonicjay::sonicjay:

All over the country? I think you are confused.

Wait, didn't shift get promoted before you?

I don't think they lay-off call center employees, once they train them they are pretty much there for life. There isn't much else out there for them, besides retiring in to a nice greeter position at walmart.
 

· Pew pew!
Joined
·
18,182 Posts
:sonicjay::sonicjay::sonicjay:

All over the country? I think you are confused.

Wait, didn't shift get promoted before you?

I don't think they lay-off call center employees, once they train them they are pretty much there for life. There isn't much else out there for them, besides retiring in to a nice greeter position at walmart.
Michigan, Florida...wherever you are now.

Good point, I'm sure I'll be here for life. Who wouldn't want that? Still beats a fat ******* inbred farmer from Lincoln.

By the way, did you ever get your college degree? Wasn't it like six years or something just for a Bachelors?
 
1 - 20 of 36 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top