[Fwd: Re: [PHP] PHP / JavaScript integration]

2005-03-09 Thread Jochem Maas
this post was meant for the OP - I sent it to Chris W. (only) by mistake. oops Original Message From: - Wed Mar 09 19:50:29 2005 Chris W. Parker wrote: Mário Gamito mailto:[EMAIL PROTECTED] on Tuesday, March 08, 2005 4:28 PM said: I'm trying to integrate some JavaScript

Re: [PHP] PHP / JavaScript integration

2005-03-09 Thread Richard Lynch
Hi, I'm trying to integrate some JavaScript functions in PHP, but so far, no good :( I want to have a js.php file that has the JavaScript functions i want to use. This file, albeit its extension, has no PHP code or even tag. It's just like this: js.php -- script language=JavaScript

[PHP] PHP / JavaScript integration

2005-03-08 Thread Mário Gamito
Hi, I'm trying to integrate some JavaScript functions in PHP, but so far, no good :( I want to have a js.php file that has the JavaScript functions i want to use. This file, albeit its extension, has no PHP code or even tag. It's just like this: js.php -- script language=JavaScript function

Re: [PHP] PHP / JavaScript integration

2005-03-08 Thread Gabe Guzman
On Wed, Mar 09, 2005 at 12:27:39AM +, M?rio Gamito wrote: Hi, I'm trying to integrate some JavaScript functions in PHP, but so far, no good :( I want to have a js.php file that has the JavaScript functions i want to use. This file, albeit its extension, has no PHP code or even tag.

[PHP] Re: PHP / JavaScript integration

2005-03-08 Thread Jason Barnett
Mário Gamito wrote: Hi, I'm trying to integrate some JavaScript functions in PHP, but so far, no good :( ... How can i do this ? How to tell PHP, that def(word) is a JS function in js.php file ? I've tried include ('js.php'), etc., but got no results :( Any help would be apreciated.

RE: [PHP] PHP / JavaScript integration

2005-03-08 Thread Chris W. Parker
Mário Gamito mailto:[EMAIL PROTECTED] on Tuesday, March 08, 2005 4:28 PM said: I'm trying to integrate some JavaScript functions in PHP, but so far, no good :( [snip] Now... i want to call this JavaScript function from the regular PHP files. In particular, before the HTML code. Like

[PHP] Javascript PHP

2005-02-27 Thread timothy johnson
I am trying to make a small menu system using javascript, but the values that I want to use come from php/mysql. I can get the code to work when I type in the values but when I try to use php. it doesnt process the php. you view source and you can see the php functions. I have tried naming the

Re: [PHP] Javascript PHP

2005-02-27 Thread anirudh dutt
use php to output the javascript code just as u'd do it for html (since the javascript code is IN the html). if ur js is ready: ?php echo JS_TEXT script language=javascript!-- ... //--/script JS_TEXT; ? the script part could be the code or a link to the file which u'd use as link rel=... [some

[PHP] Javascript newsgroup

2005-01-17 Thread Ross Hulford
Hi, I need to find a good Javascript newsgroup. Thanks, Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Javascript newsgroup

2005-01-17 Thread Jay Blanchard
[snip] I need to find a good Javascript newsgroup. [/snip] Are you familiar with Google? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Javascript problem

2005-01-17 Thread Gregg Healy
I am trying to get the form below to make sure the file type for the upload is a pdf file. The code below checks, but doesn¹t allow even a pdf file to upload. Can anybody shed some light on this for me? Is there an easier way to do this using JS? ?php echo 'html head titletest page/title

[PHP] Javascript and php

2004-11-07 Thread Reinhart Viane
Hey all, Hope some of you also work on sundays :) I have a little javascript which displays a images (with previous / next thing) Now, i populate the javascript array with an php array: SCRIPT LANGUAGE=JavaScript !-- Begin NewImg = new Array ( ?php while($row = mysql_fetch_object($result)){

Re: [PHP] Javascript and php

2004-11-07 Thread Jordi Canals
On Sun, 7 Nov 2004 11:44:33 +0100, Reinhart Viane [EMAIL PROTECTED] wrote: Hope some of you also work on sundays :) I have a little javascript which displays a images (with previous / next thing) Now, i populate the javascript array with an php array: SCRIPT LANGUAGE=JavaScript !--

Re: [PHP] Javascript and php

2004-11-07 Thread Bruno B B Magalhães
Reinhart, ?php for($i = 0; $i mysql_num_rows($result)-1; $i++) { $row = mysql_fetch_object($result); echo ''.$row-picture_url.''; if($i = mysql_num_rows($result)-2) { echo ','; } } ? Here is how I do in my developments.

RE: [PHP] Javascript and php

2004-11-07 Thread Reinhart Viane
PROTECTED] Subject: Re: [PHP] Javascript and php Reinhart, ?php for($i = 0; $i mysql_num_rows($result)-1; $i++) { $row = mysql_fetch_object($result); echo ''.$row-picture_url.''; if($i = mysql_num_rows($result)-2) { echo

[PHP] PHP + Javascript, immediate database update

2004-10-27 Thread Steve McGill
Hi everyone, I have a webform which my users are expecting to act like a Windows program, they only need to check the box and it is automatically written to the database. So I'd like to use a combination of javascript, like this, but it isn't quite elegent enough: - Tick the box. - Javascript

Re: [PHP] PHP + Javascript, immediate database update

2004-10-27 Thread Matt M.
I have a webform which my users are expecting to act like a Windows program, they only need to check the box and it is automatically written to the database. you could try this http://developer.apple.com/internet/webcontent/iframe.html or this http://jibbering.com/2002/4/httprequest.html --

[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

[PHP] JavaScript conversion to PHP code...

2004-07-26 Thread Scott Fletcher
Hi, what is in your opinion is the best way to convert from JavaScript to PHP What I'm not entirely sure of is the char_set.indexOf(input.charAt()). It look pretty tricky --snip-- var algorithm = 8; for (loop=0; loopinput.length; loop++) { //search char_set

Re: [PHP] JavaScript conversion to PHP code...

2004-07-26 Thread Curt Zirzow
* Thus wrote Scott Fletcher: Hi, what is in your opinion is the best way to convert from JavaScript to PHP What I'm not entirely sure of is the char_set.indexOf(input.charAt()). It look pretty tricky Sometimes a whole complete approach can be done: --snip-- var

[PHP] JavaScript in PHP or PHP in JavaScript

2004-07-23 Thread Robb Kerr
Let me preface this by saying that I don't know JavaScript. I've got a page that is built by a long complicated JavaScript that I was able to hack just enough to function the way I wanted. There are some lines of code -- those that define div positioning -- that need to be different depending upon

[PHP] javascript prob with php on ther browsers (old or new)

2004-06-28 Thread Louie Miranda
Whenever i load this on my old/mac broweser like IE5, etc. The whole page just wont show up. How can i load this on php? to load it right? this loads ok on my new browser, im confused how can i get the and the ' to work with php? to load right on my weird-javascript-old- browser script

Re: [PHP] javascript prob with php on ther browsers (old or new)

2004-06-28 Thread Marek Kilimajer
This is a javascript question, it has nothing to do with php. php merely outputs the html and javascript, and your issue is client side. Louie Miranda wrote --- napísal:: Whenever i load this on my old/mac broweser like IE5, etc. The whole page just wont show up. How can i load this on php? to

[PHP] Javascript Question

2004-06-07 Thread GodFoca
Hey! Sorry for the OT, but since there seems to be no js newsgroup in gmane, I thought maybe someone in here could answer this simple question. I am trying to use javascript's print() to print a frame FROM ANOTHER frame. This is the layout: frameset rows=*,40 frameborder=NO border=0

Re: [PHP] Javascript Question

2004-06-07 Thread Gabino Travassos
, 2004 8:47 AM Subject: [PHP] Javascript Question Hey! Sorry for the OT, but since there seems to be no js newsgroup in gmane, I thought maybe someone in here could answer this simple question. I am trying to use javascript's print() to print a frame FROM ANOTHER frame. This is the layout

[PHP] Javascript help

2004-04-13 Thread Brent Clark
Hi all I know this is not a Javascript mailing list, and I do apologies. I have this problem where in my php and I know very little javascript that I execute a function to create a window. But I need to know if anyone knows of the function to kill that window, once one of my other functions is

Re: [PHP] Javascript help

2004-04-13 Thread Richard Davey
Hello Brent, Tuesday, April 13, 2004, 11:28:55 AM, you wrote: BC I have this problem where in my php and I know very little BC javascript that I execute a function to create a window. BC But I need to know if anyone knows of the function to kill BC that window, once one of my other functions is

[PHP] JavaScript Enabled?

2004-03-29 Thread Richard Davey
Hi all, Can anyone suggest a suitable means for detecting if a client browser has JavaScript enabled or not? I know this isn't exactly PHP related, but I need to make sure my PHP script offers an alternative in a friendly way and not a JS error, but I just wondered if there was a foolproof

RE: [PHP] JavaScript Enabled?

2004-03-29 Thread Rich Gray
Can anyone suggest a suitable means for detecting if a client browser has JavaScript enabled or not? I know this isn't exactly PHP related, but I need to make sure my PHP script offers an alternative in a friendly way and not a JS error, but I just wondered if there was a foolproof method of

Re[2]: [PHP] JavaScript Enabled?

2004-03-29 Thread Richard Davey
Hello Rich, Monday, March 29, 2004, 2:51:18 PM, you wrote: RG Er ... how do you generate a JS error with a JS disabled browser? Maybe I should have said JS related error. For example - on vBulletin (a $160 BBS package) if you have JavaScript disabled the drop-down Forum Tools link does

Re: Re[2]: [PHP] JavaScript Enabled?

2004-03-29 Thread Mark
--- Richard Davey [EMAIL PROTECTED] wrote: snip Hmmm.. not a bad idea. I was thinking of some kind of intermediary script, where it can run a check to see if JS is there or not (via whatever method possible) and then redirect accordingly. I'll have an experiment and (further!) searches to

Re: [PHP] Javascript Mouseover Help NOT A JAVASCRIPT QUESTION

2004-03-18 Thread Raditha Dissanayake
It's not a javascript question, or problem. As I said in my original post, it works fine if it's a regular html file. But when I put it in a variable in php, then use that variable from an included file, the javascript is not executed. What can I do to fix this? Like i said you have to

Re: [PHP] Javascript Mouseover Help

2004-03-18 Thread Marek Kilimajer
Jake McHenry wrote: Hi everyone, How can I get around my problem? I have a couple pages that I would like to have buttons where the button and background changes when the javascript mouseover event happens. My code works fine if the page is .html, but when I try it as php, the mouseovers no

Re: [PHP] Javascript Mouseover Help NOT A JAVASCRIPT QUESTION

2004-03-18 Thread Raditha Dissanayake
Raditha Dissanayake wrote: It's not a javascript question, or problem. As I said in my original post, it works fine if it's a regular html file. But when I put it in a variable in php, then use that variable from an included file, the javascript is not executed. What can I do to fix

[PHP] Javascript Mouseover Help

2004-03-17 Thread Jake McHenry
Hi everyone, How can I get around my problem? I have a couple pages that I would like to have buttons where the button and background changes when the javascript mouseover event happens. My code works fine if the page is .html, but when I try it as php, the mouseovers no longer work. I have

Re: [PHP] Javascript Mouseover Help

2004-03-17 Thread Raditha Dissanayake
Jake McHenry wrote: Hi everyone, How can I get around my problem? I have a couple pages that I would like to have buttons where the button and background changes when the javascript mouseover event happens. My code works fine if the page is .html, but when I try it as php, the mouseovers no

Re: [PHP] Javascript Mouseover Help NOT A JAVASCRIPT QUESTION

2004-03-17 Thread Jake McHenry
- Original Message - From: Raditha Dissanayake [EMAIL PROTECTED] To: Jake McHenry [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, March 18, 2004 12:35 AM Subject: Re: [PHP] Javascript Mouseover Help Jake McHenry wrote: Hi everyone, How can I get around my problem? I have

Re: [PHP] Javascript Mouseover Help NOT A JAVASCRIPT QUESTION

2004-03-17 Thread Terence
] Javascript Mouseover Help NOT A JAVASCRIPT QUESTION - Original Message - From: Raditha Dissanayake [EMAIL PROTECTED] To: Jake McHenry [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, March 18, 2004 12:35 AM Subject: Re: [PHP] Javascript Mouseover Help Jake McHenry wrote: Hi

RE: [PHP] Javascript Mouseover Help

2004-03-17 Thread Clifford W. Hansen
Jake, Personally I don't use the EndHTML things... Try using something like this: [code] $tableheaderformat = EndFormat id=JMTS bgcolor=#ABCED6 onmouseover=if(document.layers) { document.layers['JMTS'].bgColor='#EE' } else { if(document.all) { document.all['JMTS'].

RE: [PHP] Javascript Mouseover Help

2004-03-17 Thread Clifford W. Hansen
, March 18, 2004 8:56 AM To: Clifford W. Hansen Subject: Re: [PHP] Javascript Mouseover Help In my post, EndFormat was on it's own line. Outlook express probably screwed it up. and I'm not seeing where you added a closing ? The javascript worked fine, thats not the problem, it's just somehow not being

Re: [PHP] Javascript Mouseover Help

2004-03-17 Thread Tom Rogers
Hi, Thursday, March 18, 2004, 1:08:27 PM, you wrote: JM Hi everyone, JM How can I get around my problem? I have a couple pages that I JM would like to have buttons where the button and background changes JM when the javascript mouseover event happens. My code works fine if JM the page is .html,

RE: [PHP] Javascript array [] length is undefined when only singl e element

2004-02-18 Thread Ford, Mike [LSS]
On 18 February 2004 01:21, Daevid Vincent contributed these pearls of wisdom: Okay kids. Here's another strange one. Very simple form. The array is dynamically generated from PHP as per the suggested method: http://us2.php.net/manual/en/faq.html.php#faq.html.arrays However, when there is

[PHP] Javascript array [] length is undefined when only single element

2004-02-17 Thread Daevid Vincent
Okay kids. Here's another strange one. Very simple form. The array is dynamically generated from PHP as per the suggested method: http://us2.php.net/manual/en/faq.html.php#faq.html.arrays However, when there is only a single element, the myMultiSelect.length is undefined in javascript. If there

Re: [PHP] Javascript array [] length is undefined when only single element

2004-02-17 Thread Adam Bregenzer
On Tue, 2004-02-17 at 20:21, Daevid Vincent wrote: Okay kids. Here's another strange one. Very simple form. The array is dynamically generated from PHP as per the suggested method: http://us2.php.net/manual/en/faq.html.php#faq.html.arrays However, when there is only a single element, the

Re: [PHP] JavaScript question

2003-12-24 Thread -{ Rene Brehmer }-
you can simply call: Window.location.href = 'http://yourdomain.com/phpscripttocall.php?variable1=value1variable2=value2' ^works in all browsers supporting JavaScript ... there's a few variants of this that will only work in IE or Netscape, but this one is vague enough to work in both... (not

[PHP] Javascript question

2003-11-20 Thread Robin Kopetzky
I know this may be off-topic but I've got a problem that I do not know how to work around... I'm displaying a SELECT list and the problem is getting the value back after an 'onChange' event. Code is like this: HTML HEAD SCRIPT LANGUAGE=JAVASCRIPT !-- function jump() {

Re: [PHP] Javascript question

2003-11-20 Thread Jason Wong
On Friday 21 November 2003 02:24, Robin Kopetzky wrote: I know this may be off-topic but I've got a problem that I do not know how to work around... Hey list moderators, can this list be renamed the php-general-javascript-and-the-kitchen-sink list? -- Jason Wong - Gremlins Associates -

RE: [PHP] Javascript question

2003-11-20 Thread Robin Kopetzky
Ah-hah! Jason hides under an email address that does not exist so one cannot reply directly to him, only via the list. Does that not describe the person well? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Javascript question

2003-11-20 Thread Mike Migurski
Ah-hah! Jason hides under an email address that does not exist so one cannot reply directly to him, only via the list. Does that not describe the person well? Insofar as he is cautious about spam, sure. - michal migurski-

RE: [PHP] Javascript question

2003-11-20 Thread Jay Blanchard
[snip] Ah-hah! Jason hides under an email address that does not exist so one cannot reply directly to him, only via the list. Does that not describe the person well? [/snip] I found Jason's reply to be humorous! You yourselef said that your request was off topic. What did you expect? Here is

Re: [PHP] Javascript question

2003-11-20 Thread John Nichel
Jason Wong wrote: On Friday 21 November 2003 02:24, Robin Kopetzky wrote: I know this may be off-topic but I've got a problem that I do not know how to work around... Hey list moderators, can this list be renamed the php-general-javascript-and-the-kitchen-sink list? My kitchen sink

Re: [PHP] Javascript question

2003-11-20 Thread Jason Wong
On Friday 21 November 2003 02:38, Robin Kopetzky wrote: Ah-hah! Jason hides under an email address that does not exist so one cannot reply directly to him, only via the list. Does that not describe the person well? My address only accepts mail directly from the list, cuts down on the spam

Re: [PHP] Javascript question

2003-11-20 Thread John Nichel
Robin Kopetzky wrote: Ah-hah! Jason hides under an email address that does not exist so one cannot reply directly to him, only via the list. Does that not describe the person well? Jason's actions describe him, not his email address. Jason is a valued member of this list and has helped

RE: [PHP] Javascript question

2003-11-20 Thread Jay Blanchard
[snip] My kitchen sink always gets clogged when we clean out the fridge. Does anyone know of a way I can fix that? ;) [/snip] $strSinkTrap = fopen(/under/the/cabinet/, w+); while(!feof($strSinkTrap)){ unscrewFittings($pipe); if($pipeUnscrewed == TRUE){

Re: [PHP] Javascript question

2003-11-20 Thread John Nichel
Jay Blanchard wrote: [snip] My kitchen sink always gets clogged when we clean out the fridge. Does anyone know of a way I can fix that? ;) [/snip] $strSinkTrap = fopen(/under/the/cabinet/, w+); while(!feof($strSinkTrap)){ unscrewFittings($pipe); if($pipeUnscrewed ==

Re: [PHP] Javascript question

2003-11-20 Thread Aaron Gould
$strSinkTrap = fopen(/under/the/cabinet/, w+); while(!feof($strSinkTrap)){ unscrewFittings($pipe); if($pipeUnscrewed == TRUE){ removeClog($hair, $grease, $grime); } } fclose($strSinkTrap); You may want to call the screwFittings

Re: [PHP] Javascript question

2003-11-20 Thread Brent Baisley
Funny off-off topic stuff. But to address the original question, which I deleted already, the problem is in your html, not your javascript. The syntax for selects is: select name=state_name onChange= option label=Colorado value=ColoradoColorado/option You had the name parameter in the option,

[PHP] JavaScript Newsgroup

2003-11-03 Thread Robb Kerr
What's your favorite JavaScript newsgroup? This group has been invaluable in helping me learn PHP and need the same for JS. Thanx, -- Robb Kerr Digital IGUANA Helping Digital Artists Achieve their Dreams http://www.digitaliguana.com http://www.cancerreallysucks.org -- PHP General Mailing List

Re: [PHP] JavaScript Newsgroup

2003-11-03 Thread Burhan Khalid
Robb Kerr wrote: What's your favorite JavaScript newsgroup? This group has been invaluable in helping me learn PHP and need the same for JS. I would highly recommend Evolt ( http://www.evolt.org ) -- I'm a member and a frequent lurker (and sometime poster) on their lists. A lot of expert minds

[PHP] JavaScript question

2003-11-02 Thread Robin Kopetzky
Good morning. I know this may be off-topic but I don't know where to turn. I'm building a dynamic web page system with PHP and need to figure out in JavaScript how to do something. I have the timer figured out in JavaScript but what I need is a way to automatically submit a request back to the

Re: [PHP] JavaScript question

2003-11-02 Thread Marek Kilimajer
Would Refresh header work for you? header('Refresh: 15; url=slides.php?page=2'); If you send this header the browser will navigate to slides.php?page=2 after 15 seconds without user intervension. Robin Kopetzky wrote: Good morning. I know this may be off-topic but I don't know where to turn.

RE: [PHP] JavaScript question

2003-11-02 Thread Jake McHenry
-Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Sunday, November 02, 2003 2:03 PM To: Robin Kopetzky Cc: PHP General Subject: Re: [PHP] JavaScript question Would Refresh header work for you? header('Refresh: 15; url=slides.php?page=2'); If you

RE: [PHP] PHP JavaScript

2003-10-22 Thread Martin Towell
Hi everybody! Have somebody any idea how I could do something like that? ? settype($phpScreenWidth, string); settype($phpScreenHeight, string); ? script language=javascript var phpScreenWidth, phpScreenHight;

RE: [PHP] PHP JavaScript

2003-10-22 Thread BQ777
Exactly. but it should be only with one step. That means, just running the file once and get the vars. cbq -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 23. Oktober 2003 03:00 To: 'BQ777'; [EMAIL PROTECTED] Subject: RE: [PHP] PHP JavaScript Hi

Re: [PHP] PHP JavaScript

2003-10-22 Thread jsWalter
Martin Towell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi everybody! Have somebody any idea how I could do something like that? ? settype($phpScreenWidth, string); settype($phpScreenHeight, string); ? This is a serverside process This

[PHP] PHP JavaScript

2003-10-22 Thread BQ777
Hi everybody! Have somebody any idea how I could do something like that? ? settype($phpScreenWidth, string); settype($phpScreenHeight, string); ? script language=javascript var phpScreenWidth, phpScreenHight; phpScreenWidth

Re: [PHP] PHP JavaScript

2003-10-22 Thread Mike Migurski
Have somebody any idea how I could do something like that? snip javascript and PHP You're somewhat out of luck, as the chain of events in your typical HTTP transaction looks something like this... [time]- client request received from browser

[PHP] RE: [PHP-WIN] Re: [PHP] PHP JavaScript

2003-10-22 Thread BQ777
-WIN] Re: [PHP] PHP JavaScript Have somebody any idea how I could do something like that? snip javascript and PHP You're somewhat out of luck, as the chain of events in your typical HTTP transaction looks something like this... [time]- client

<    1   2   3   4   5   6   >