Re: [PHP-WIN] PHP and JavaScript

2007-05-12 Thread Stut
sam rumaizan wrote: In PHP when you click on the menu text Update The Record the menu doesn’t open it takes you to another page. But in HTML when you click on the menu text Update The Record the menu dose open. Update The Record When you try the PHP version, do a "View Source" in

Re: [PHP-WIN] PHP and JavaScript

2007-05-12 Thread Niel Archer
> It works with HTML without body Technically, both html and body tag pairs are optional, but it make your page clearer to understand when included. First thing I'd suggest is NOT using echo. As far as I can see you have no dynamic content being produced, so put the whole lot before the "

Re: [PHP-WIN] PHP and JavaScript

2007-05-12 Thread Niel Archer
Hi > In PHP when you click on the menu text Update The Record the menu doesn’t > open it takes you to another page. But in HTML when you click on the menu > text Update The Record the menu dose open. Clicking on the "Update the Record" link does the same for me in either PHP/HTML versions. Tak

Re: [PHP-WIN] PHP and JavaScript

2007-05-12 Thread sam rumaizan
ing script --> #menu1 {display:none; margin-left:20px} Update The Record Update the record <End Code-> bedul <[EMAIL PROTECTED]> wrote: - Original Message - From: "sam r

Re: [PHP-WIN] PHP and JavaScript

2007-05-12 Thread sam rumaizan
In PHP when you click on the menu text Update The Record the menu doesn’t open it takes you to another page. But in HTML when you click on the menu text Update The Record the menu dose open. Update The Record Niel Archer <[EMAIL PROTECTED]> wrote: Hi > Can some one explain to me

[PHP-WIN] *****SPAM***** Re: [PHP-WIN] PHP and JavaScript

2007-05-12 Thread Niel Archer
Spam detection software, running on the system "mail.enchantedspirit.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see [EMAIL PROTECTED] for

Re: [PHP-WIN] PHP and JavaScript

2007-05-12 Thread Niel Archer
Hi > Can some one explain to me why this code (Sliding menus) works fine with HTML > but it doesn’t work with PHP? Please define 'doesn't work', as it does exactly the same for me whether PHP or HTML. BTW hopefully a typo, but your example has no tag only the closing one. I also wouldn't spre

[PHP-WIN] PHP and JavaScript

2007-05-11 Thread sam rumaizan
Can some one explain to me why this code (Sliding menus) works fine with HTML but it doesn’t work with PHP? #menu1 {display:none; margin-left:20px} Update The Record Update the record "; ?> --

[PHP-WIN] PHP and JavaScript

2002-05-21 Thread Opere, James
Following the ChainedSelectors example, i've been able to populate fields popup menu using a table selected from the database. Now i want to populate more than one fields popup menus.This should enable me select more than one field from the same table and pass them as variables to be used in the n

Re: [PHP-WIN] PHP and JavaScript

2002-02-05 Thread Nicole Amashta
You don't even have to document.write. You can just create a hidden variable like you said and set that variable. such as: then set that var after the value is retrieved from the prompt like so: var name= prompt(''); document.frmTest.var1.value=name; just another way of doing it. ;)

Re: [PHP-WIN] PHP and JavaScript

2002-02-02 Thread Craig Morrison
I figured out how to do what I wanted to do. document.write the var to a hidden field in a form.. Thanks to everyone who sent messages off the list! :-) Craig Morrison wrote: > > Say I do this in JavaScript: > > var name = prompt("Please enter your name:", "Name"); > > How do I access 'nam

[PHP-WIN] PHP and JavaScript

2002-02-02 Thread Craig Morrison
Say I do this in JavaScript: var name = prompt("Please enter your name:", "Name"); How do I access 'name' in PHP or can I? -- Craig Morrison http://www.mtsprofessional.com/ A Win32 Email server that works for you. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-ma