Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 13th, 2005, 08:12 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default Argh! Why does this concatenate?

Ok here's my code:

if(document.q1form.sel1.selectedIndex ==1){
parent.opener.document.form1.scores.value+=1 //this line makes the input in the opener concatenate. The input type is set to hidden.
thescore+=1}
else{
thescore+=0
}

Why is this happening??????

TIA

__________________
\'sync\' <cr>
The name specified is not recognized as an internal or external command, operable program or batch file.
 
Old August 13th, 2005, 08:44 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Duh! Don't even answer this one as its just way to silly. I need coffee. I also need sleep. And a lobotomy.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Concatenate Rows stonesbg ASP.NET 2.0 Basics 5 February 6th, 2007 06:12 PM
Hyperlink (Concatenate) JEHalm Excel VBA 1 January 11th, 2006 01:09 PM
Http Header....argh, Help Help pls... ? vanjamier Classic ASP Components 7 January 12th, 2005 02:53 PM
string concatenate phelkuizon Classic ASP Databases 1 September 13th, 2004 04:08 AM
How to Concatenate Data mbbolz SQL Language 4 April 1st, 2004 04:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.