[PHP] javascript type cast

2004-08-03 Thread Josh Close
Is there any way to do a typecast in javascript? I know you can in 2.0, but that won't work here. I have an input field and I need to add a number to it's value. var + 123 == 'var123' You would think that it would automatically typecast var to an int since it's being added to one, but it just

Re: [PHP] javascript type cast

2004-08-03 Thread John Nichel
On Tuesday 03 August 2004 12:28, Josh Close wrote: P.S. I'm doing this in a php page... that's why I'm asking here. But this doesn't make it a php problem. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] javascript type cast

2004-08-03 Thread Josh Close
Yes, but most php users do some web programming and might have come across this before. -Josh On Tue, 3 Aug 2004 12:34:40 -0400, John Nichel [EMAIL PROTECTED] wrote: On Tuesday 03 August 2004 12:28, Josh Close wrote: P.S. I'm doing this in a php page... that's why I'm asking here. But this

Re: [PHP] javascript type cast

2004-08-03 Thread Jason Wong
On Wednesday 04 August 2004 00:38, Josh Close wrote: Yes, but most php users do some web programming and might have come across this before. Most people on this list eat as well, but that doesn't make this list an appropriate forum for discussing food. -- Jason Wong - Gremlins Associates -

Re: [PHP] javascript type cast

2004-08-03 Thread Josh Close
Wow, no need to be an ass. I just wanted a little help and this list is usually pretty friendly and willing to help. but I guess not. On Wed, 4 Aug 2004 01:01:47 +0800, Jason Wong [EMAIL PROTECTED] wrote: On Wednesday 04 August 2004 00:38, Josh Close wrote: Yes, but most php users do

Re: [PHP] javascript type cast

2004-08-03 Thread Jason Wong
On Wednesday 04 August 2004 01:06, Josh Close wrote: Wow, no need to be an ass. I just wanted a little help and this list is usually pretty friendly and willing to help. but I guess not. So you're saying you're taking advantage of (or abusing) the list's readiness to help by asking OT

RE: [PHP] javascript type cast

2004-08-03 Thread Vail, Warren
is the content police's treatment of Josh. Warren Vail -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 10:13 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] javascript type cast On Wednesday 04 August 2004 01:06, Josh Close wrote: Wow, no need

Re: [PHP] javascript type cast

2004-08-03 Thread Matthew Sims
On Wednesday 04 August 2004 00:38, Josh Close wrote: Yes, but most php users do some web programming and might have come across this before. Most people on this list eat as well, but that doesn't make this list an appropriate forum for discussing food. Unless it's about PEAR. ;) --

Re: [PHP] javascript type cast

2004-08-03 Thread raditha dissanayake
Vail, Warren wrote: I, for one, am not convinced that this all that far off topic. Since the accepted method to generate browser interaction with server side PHP, is to use Javascript, it doesn't seem any more off-topic than dealing with database questions about MySQL. unfortunately it's not

Re: [PHP] javascript type cast

2004-08-03 Thread raditha dissanayake
Matthew Sims wrote: On Wednesday 04 August 2004 00:38, Josh Close wrote: Yes, but most php users do some web programming and might have come across this before. Most people on this list eat as well, but that doesn't make this list an appropriate forum for discussing food. Unless

RE: [PHP] javascript type cast OT

2004-08-03 Thread Jay Blanchard
[snip] Since the accepted method to generate browser interaction with server side PHP, is to use Javascript, it doesn't seem any more off-topic than dealing with database questions about MySQL. [/snip] Actually the accepted method to generate browser interaction with server side PHP is http

Re: [PHP] javascript type cast

2004-08-03 Thread Jason Wong
On Wednesday 04 August 2004 01:38, Vail, Warren wrote: I, for one, am not convinced that this all that far off topic. OK if I asked the question how do I do type casting in Cobol?, would you agree that it is OT? Cobol has nothing to do with the zend engine, Javascript has nothing to do with

RE: [PHP] javascript type cast

2004-08-03 Thread Alex Hogan
-Original Message- From: Vail, Warren [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 12:38 PM To: 'Jason Wong'; [EMAIL PROTECTED] Subject: RE: [PHP] javascript type cast I, for one, am not convinced that this all that far off topic. Since the accepted method to generate

RE: [PHP] javascript type cast OT

2004-08-03 Thread Jay Blanchard
[snip] I have been on a number of lists over the years, as what ever technology I'm using at the time has demanded. I would have to say that this list is one of the most curt and condescending lists I've ever been on. [/snip] Hmmm, you should see the C++ newsgroup(s). Actually I would have to

Re: [PHP] javascript type cast

2004-08-03 Thread Josh Close
] Subject: RE: [PHP] javascript type cast I, for one, am not convinced that this all that far off topic. Since the accepted method to generate browser interaction with server side PHP, is to use Javascript, it doesn't seem any more off-topic than dealing with database questions about MySQL

RE: [PHP] javascript type cast OT

2004-08-03 Thread Alex Hogan
Hmmm, you should see the C++ newsgroup(s). Point taken... Common and well established list courtesies established years ago are expected to be suspended herewhy? Nope and that's wasn't my point. My point was temperance. Having said that I suppose that those of us who are curt and

Re: [PHP] javascript type cast OT

2004-08-03 Thread raditha dissanayake
Jay Blanchard wrote: [snip] I have been on a number of lists over the years, as what ever technology I'm using at the time has demanded. I would have to say that this list is one of the most curt and condescending lists I've ever been on. [/snip] Having said that I suppose that those of us who

Re: [PHP] javascript type cast OT

2004-08-03 Thread John Nichel
On Tuesday 03 August 2004 14:39, Jay Blanchard offered up the following tid-bit of information : [snip] I have been on a number of lists over the years, as what ever technology I'm using at the time has demanded. I would have to say that this list is one of the most curt and condescending

Re: [PHP] javascript type cast

2004-08-03 Thread raditha dissanayake
Josh Close wrote: Ok. I write most my web apps in php. I rarely will use js for anything, but I needed it on this rare occasion. I didn't want to have to post to the same php page to get the results to change, so I though a little js would do the job. Being a php list, I thought that a few others

Re: [PHP] javascript type cast

2004-08-03 Thread Jason Wong
On Wednesday 04 August 2004 02:44, Josh Close wrote: Being a php list, I thought that a few others would have run into the same issue while doing this. Would it have made it better if I talked a little about the php work that was being done on the page also? OT is OT, trying to justify it by

RE: [PHP] javascript type cast

2004-08-03 Thread Alex Hogan
All I have to say is, sorry I asked. OK.., now you're really making me want to take a poke at you. You posted off topic, knew it was off topic, you got spanked for it. Don't make things worse by whining. alex hogan

Re: [PHP] javascript type cast OT

2004-08-03 Thread John Nichel
On Tuesday 03 August 2004 14:54, Alex Hogan offered up the following tid-bit of information : However there is a difference between list courtesy and blatant aggression. I understand that there are going to be more newbie's to programming here than on most language lists. Does this mean that

Re: [PHP] javascript type cast

2004-08-03 Thread Josh Close
On Tue, 03 Aug 2004 14:15:32 -0500, Alex Hogan [EMAIL PROTECTED] wrote: All I have to say is, sorry I asked. OK.., now you're really making me want to take a poke at you. You posted off topic, knew it was off topic, you got spanked for it. Don't make things worse by whining. Not

Re: [PHP] javascript type cast OT

2004-08-03 Thread Josh Close
On Tue, 3 Aug 2004 15:30:20 -0400, John Nichel [EMAIL PROTECTED] wrote: On Tuesday 03 August 2004 14:54, Alex Hogan offered up the following tid-bit of information : However there is a difference between list courtesy and blatant aggression. I understand that there are going to be more

Re: [PHP] javascript type cast OT

2004-08-03 Thread John Nichel
On Tuesday 03 August 2004 15:38, Josh Close offered up the following tid-bit of information : On Tue, 3 Aug 2004 15:30:20 -0400, John Nichel [EMAIL PROTECTED] wrote: On Tuesday 03 August 2004 14:54, Alex Hogan offered up the following tid-bit of information : However there is a

RE: [PHP] javascript type cast OT

2004-08-03 Thread Ed Lazor
: Tuesday, August 03, 2004 12:30 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] javascript type cast OT On Tuesday 03 August 2004 14:54, Alex Hogan offered up the following tid- bit of information : However there is a difference between list courtesy and blatant aggression. I understand

RE: [PHP] javascript type cast OT

2004-08-03 Thread Jay Blanchard
[snip] ... flame on and on and on and on ... [/snip] It must be the heat :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] javascript type cast

2004-08-03 Thread Monty
, such as sitepoint.com. Monty From: [EMAIL PROTECTED] (Josh Close) Newsgroups: php.general Date: Tue, 3 Aug 2004 13:44:28 -0500 To: PHP [EMAIL PROTECTED] Subject: Re: [PHP] javascript type cast Ok. I write most my web apps in php. I rarely will use js for anything, but I needed it on this rare occasion. I

Re: [PHP] javascript type cast

2004-08-03 Thread Justin Patrin
: [EMAIL PROTECTED] (Josh Close) Newsgroups: php.general Date: Tue, 3 Aug 2004 13:44:28 -0500 To: PHP [EMAIL PROTECTED] Subject: Re: [PHP] javascript type cast Ok. I write most my web apps in php. I rarely will use js for anything, but I needed it on this rare occasion. I didn't want

Re: [PHP] javascript type cast OT

2004-08-03 Thread Curt Zirzow
* Thus wrote Alex Hogan: Hmmm, you should see the C++ newsgroup(s). Point taken... Common and well established list courtesies established years ago are expected to be suspended herewhy? Nope and that's wasn't my point. My point was temperance. Having said that I suppose

Re: [PHP] javascript type cast OT

2004-08-03 Thread Jim Grill
: Re: [PHP] javascript type cast OT * Thus wrote Alex Hogan: Hmmm, you should see the C++ newsgroup(s). Point taken... Common and well established list courtesies established years ago are expected to be suspended herewhy? Nope and that's wasn't my point. My point

RE: [PHP] javascript type cast OT

2004-08-03 Thread Alex Hogan
[snip] Perhaps we need a: Subject: [Elite Guide] for the seasoned php poster. Post everyweek :) Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! [/snip] I don't care who you are that's funny

RE: [PHP] javascript type cast OT

2004-08-03 Thread Ed Lazor
-Original Message- Was just wondering... Can you compile php with javascript support on a Game Boy? Lol Nope, javascript is client-side and not part of PHP :P -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php