Re: [PHP-DB] javascript and php

2005-02-08 Thread Martin Norland
Perry, Matthew (Fire Marshal's Office) wrote: Hello all, I am having difficulties working with a JavaScript menu that should load on each page of my intranet site. [snip] hint - you're already on the wrong list. Read on. Here is a brief background of the problem: [snip] 4) I am using a JavaS

[PHP-DB] javascript and php

2005-02-08 Thread Perry, Matthew (Fire Marshal's Office)
Hello all, I am having difficulties working with a JavaScript menu that should load on each page of my intranet site. Here is a brief background of the problem: 1) I am using PHP and SQL Server and it is running on Windows 2000 Server (yes I know this stinks but I have no choice in m

Re: [PHP-DB] Javascript help require

2004-06-26 Thread Mikhail U. Petrov
Rinku! It's PHP-DB List! If you wanna know JavaScript, Outlook, maybe TheBat!, Mozilla etc. send your messages into it' own maillist! Your letters only provoke, I think, everybody, and you'll wait for replies endlessly... Sorry but it's a fact. Saturday, June 26, 2004, 6:04:48 PM, Rinku wrote: R

[PHP-DB] Javascript help require

2004-06-26 Thread Rinku
I need Javascript help for this 1)I want to validate a variable called "name" If variable's value is not set then system should say "Value require". If its not alphabatic then system should say "Alphabatic value require". And curser's focus should come on textbox named "name". 2)I want to vali

Re: [PHP-DB] javascript question

2004-03-08 Thread Viorel Dragomir
alert(''); // case sensitive - Original Message - From: "Gamze Başaran" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 08, 2004 4:09 PM Subject: [PHP-DB] javascript question When I use this it isn't work an there is error but ı c

[PHP-DB] javascript question

2004-03-08 Thread Gamze Başaran
When I use this it isn't work an there is error but ı can't see it with internet explorer. I can't catch it :( Alert(''); or Alert(''); -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] javascript question

2004-03-08 Thread Ignatius Reilly
Maybe you forgot a "?": Alert(); or ^^^ Ignatius _ - Original Message - From: "Gamze Başaran" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 08, 2004 2:49 PM Subject: [PHP-DB] javascript question > Hi e

Re: [PHP-DB] javascript question

2004-03-08 Thread jeffrey_n_Dyke
tr> cc: Subject: [PHP-DB] javascript question 03/08/2004 08:49

[PHP-DB] javascript question

2004-03-08 Thread Gamze Başaran
Hi everyone; First of all I'm sorry maybe I musn't send this mail to this list but I think that someone can help me. Here is my problem: I use pear templates. In my html template file there is an javascript like this: function validateAll (objForm){ if (objForm.comp_prg.selectedIndex ==

[PHP-DB] Javascript+PHP+MySQL

2003-08-16 Thread Shahmat Dahlan
I have a question of Javascript, I don't whether anyone has experience this before, but I think some of you must have. I have the following main form, with a field called location, in which I had used the SELECT html tag and also at the same time, the content for the location field is actually

Re: [PHP-DB] javascript and submitting forms

2003-01-14 Thread Mignon Hunter
This works! Thanks Adam On Tue, 2003-01-14 at 03:11, Adam Royle wrote: > Hi Mignon, > > This should work, never closing the window without submitting > (foolproof). Just add some error checking, and you'll be sweet as a > nut! All I did was add the echo statement underneath the data insert.

Re: [PHP-DB] javascript and submitting forms

2003-01-14 Thread Mignon Hunter
Thanks again for the advice. This approach wont work in this case because I'm launching the window from an app, then I need to close to return to the app. If I submit back to my app, it brings a new app into the addl window. And no, you're definetly not stupid ! Thanks for the help. Mignon O

Re: [PHP-DB] javascript and submitting forms

2003-01-14 Thread Adam Royle
Hi Mignon, This should work, never closing the window without submitting (foolproof). Just add some error checking, and you'll be sweet as a nut! All I did was add the echo statement underneath the data insert. Adam include ('dbconn.php'); if(isset($submit)) { $query = "INSERT INTO `com

Re: [PHP-DB] javascript and submitting forms

2003-01-13 Thread Micah Stevens
Wait, I'm stupid. You're closing the window upon submission of the form, so that will close the session, so the php at the beginning will never process after form submission. Make the form submit to another page that won't be closed. -Micah On Mon, 2003-01-13 at 13:24, Mignon Hunter wrote: > U

Re: [PHP-DB] javascript and submitting forms

2003-01-13 Thread Mignon Hunter
Nevermind Micah, Thanks for your input, I just did 2 buttons for the user - one to submit and one to close the window. Thanks for your help Mignon On Mon, 2003-01-13 at 15:24, Mignon Hunter wrote: > Unfortunately I havnt gotten it to work yet. Am I missing something ? > > PS the query works

Re: [PHP-DB] javascript and submitting forms

2003-01-13 Thread Mignon Hunter
Unfortunately I havnt gotten it to work yet. Am I missing something ? PS the query works without the closewindow() Enter your details here: On Mon, 2003-01-13 at 14:44, Micah Stevens wrote: > The window.close(); function is not returning control to the form after > closing th

Re: [PHP-DB] javascript and submitting forms

2003-01-13 Thread Micah Stevens
The window.close(); function is not returning control to the form after closing the window. You must tell it to do so. Use: onClick="return window.close();" This will return the window.close() value to the submit button so that it can do its thing after the window has been closed. Use the same t

Re: [PHP-DB] javascript and submitting forms

2003-01-13 Thread Mignon Hunter
Hello List, Has anyone had any problems using the onClick="window.close();" function within a input type = "submit" ? I'm trying But evidently it's reading the close before the submit because the value of my form var is not being passed. I have also tried it in conjunction with a hidden f

Re: [PHP-DB] Javascript

2002-10-11 Thread Ignatius Reilly
- Original Message - From: "Simon Taylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 11, 2002 4:03 PM Subject: RE: [PHP-DB] Javascript > The reason for this is these fields are regarded as text and unless you > specify number(variable) it

[PHP-DB] R: [PHP-DB] Javascript

2002-10-11 Thread Riccardi Moreno
ements["field[]"].value; } thisform.totalsum.value=total; } -Messaggio originale- Da: Shahmat Dahlan [mailto:[EMAIL PROTECTED]] Inviato: venerdi 11 ottobre 2002 11.35 A: [EMAIL PROTECTED] Oggetto: [PHP-DB] Javascript My question might have anything to do with PHP but I have the following scenari

Re: [PHP-DB] Javascript

2002-10-11 Thread Ignatius Reilly
ent: Friday, October 11, 2002 11:34 AM Subject: [PHP-DB] Javascript > My question might have anything to do with PHP but I have the following > scenario: > > Say I have four fields > field1 : > field2 : > field3 : > field4 :

Re: [PHP-DB] R: [PHP-DB] Javascript

2002-10-11 Thread Shahmat Dahlan
gt; } > > -Messaggio originale- > Da: Shahmat Dahlan [mailto:[EMAIL PROTECTED]] > Inviato: venerdi 11 ottobre 2002 11.35 > A: [EMAIL PROTECTED] > Oggetto: [PHP-DB] Javascript > > My question might have anything to do with PHP but I have the following > scenario

RE: [PHP-DB] Javascript

2002-10-11 Thread Simon Taylor
') Field3=Number('2') Field1+field2+field3 = 3 Cheers Simon -Original Message- From: Ignatius Reilly [mailto:[EMAIL PROTECTED]] Sent: 11 October 2002 15:48 To: Shahmat Dahlan; [EMAIL PROTECTED] Subject: Re: [PHP-DB] Javascript I have met this problem before. The only

RE: [PHP-DB] Javascript

2002-10-11 Thread Simon Taylor
Hi, In your javascript try field1=Number(thisform.field1.value) etc... Cheers Simon -Original Message- From: Shahmat Dahlan [mailto:[EMAIL PROTECTED]] Sent: 11 October 2002 11:35 To: [EMAIL PROTECTED] Subject: [PHP-DB] Javascript My question might have anything to do with PHP but I

[PHP-DB] Javascript

2002-10-11 Thread Shahmat Dahlan
My question might have anything to do with PHP but I have the following scenario: Say I have four fields field1 : field2 : field3 : field4 : And a total sum field, which is a total sum of the value of the expression, totalsum = field1 + field

RE: [PHP-DB] javascript problem

2002-03-18 Thread Ali Nayeri
ment.write('</html>'); parent.rightFrame.document.close(); it works and shows "hello" in there. but when i try to take it out and make a general function, it fails. and the part that fails is the "rightopen()" call. it says that it expects an object. i j

Re: [PHP-DB] javascript problem

2002-03-18 Thread Remco Oosten
> Sent: Monday, March 18, 2002 4:25 PM Subject: Re: [PHP-DB] javascript problem > I am not a JavaScript expert, but I had a similar problem. I THINK that > you need to reference your frames like this: > > window.parent.frames.rightFrame.document.open(); > > Give it a tr

Re: [PHP-DB] javascript problem

2002-03-18 Thread Josh Trutwin
I am not a JavaScript expert, but I had a similar problem. I THINK that you need to reference your frames like this: window.parent.frames.rightFrame.document.open(); Give it a try, hope that helps... Josh > hi all, > > i know this is not exactly the place to ask this, but i don't know > where

[PHP-DB] javascript problem

2002-03-18 Thread Ali Nayeri
hi all, i know this is not exactly the place to ask this, but i don't know where else to ask. i'm doing a multiframe project and i'm trying to get one of the pages to change the content of another frame when it loads. in the main.htm i have: A Global Village? ...