[PHP] Re: PHP, Javascript, and Forms

2006-05-30 Thread Manuel Lemos
Hello, on 05/30/2006 11:03 PM Beauford said the following: > I have a form with about 20 fields in it and have two drop down menus in > which the second one changes depending on the previous one. This is done > with a javascript which reloads the page. > > The problem with this is that everything

Re: [PHP] Re: PHP & JavaScript

2006-05-19 Thread John Nichel
Angelo Zanetti wrote: Daniel Orner wrote: Jay Blanchard wrote: Can they play nicely together? For instance I have a small JavaScript sniplet that will check certain checkboxes if a radio button is selected. Since I have a fair amount of checkboxes I want to put them in an array all their own

Re: [PHP] Re: PHP & JavaScript

2006-05-19 Thread Dave Goodchild
Could you not use an id for the object as well as a name?

[PHP] Re: PHP & JavaScript

2006-05-19 Thread Daniel Orner
function checkAll(field){ for (i = 0; i < field.length; i++){ field[i].checked = true; } } 'length' is null or not an object Where is this being called from? Checkboxes don't have a "length"... if u declare is like name="list37" doesnt PHP get that as an array even though it do

Re: [PHP] Re: PHP & JavaScript

2006-05-19 Thread Angelo Zanetti
Daniel Orner wrote: Jay Blanchard wrote: Can they play nicely together? For instance I have a small JavaScript sniplet that will check certain checkboxes if a radio button is selected. Since I have a fair amount of checkboxes I want to put them in an array all their own so I use the XHTML syn

[PHP] RE: PHP & JavaScript

2006-05-19 Thread Jay Blanchard
[el snipo] > For instance I have a small JavaScript sniplet that will check certain > checkboxes if a radio button is selected. Since I have a fair amount of > checkboxes I want to put them in an array all their own so I use the > XHTML syntax w/brackets; > > > > Suddenly JavaScript doesn't care

[PHP] Re: PHP & JavaScript

2006-05-19 Thread Daniel Orner
Jay Blanchard wrote: Can they play nicely together? For instance I have a small JavaScript sniplet that will check certain checkboxes if a radio button is selected. Since I have a fair amount of checkboxes I want to put them in an array all their own so I use the XHTML syntax w/brackets; Sudd

[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 a

[PHP] Re: PHP & Javascript compatibilty

2002-11-29 Thread Kyle Gibson
I'm developing a WYSIWYG editor using PHP and Javascript (for COM). However, I start having problems when I try to display the page using the .php extension. The Javascript is not working. However, when I save it to HTML, it worked fine. Can anyone please help me? Why is this so? What can I do

[PHP] Re: php & JavaScript

2002-06-24 Thread BB
Javascript is client side and is not parsed by the server at all If you are generating javascript with PHP, and it is in an external file, it still needs a .php extension Can you be more specific to the problem, paste some code? "Luis Miguel N. Tavora" <[EMAIL PROTECTED]> wrote in message [EMAI

[PHP] Re: PhP & Javascript Mixed Repost Fields

2002-04-01 Thread George Nicolae
sorry the correct code is: in fooa.php for each textfield so, when you come back from foob.php if a $field !empty the respective textfiel will have a value in html form; -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb

[PHP] Re: PhP & Javascript Mixed Repost Fields

2002-04-01 Thread George Nicolae
in fooa.php for each textfield so, when you come back from foob.php if a $field !empty the respective textfiel will have a value in html form; -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Simos Varelakis" <[EMA

[PHP] Re: PHP-JavaScript

2002-02-25 Thread George Whiffen
Mëòv î‰çîÎ òsyïn wrote: > Is it posible to get values from javascript to PHP? Without having to post > the variables.. > > Thanks //Mårten > > _ > Chatta med vänner online, prova MSN Messenger: http://messenger.msn.se I'm not quit

RE: [PHP] Re: PHP-JavaScript

2002-01-20 Thread Martin Towell
:11 PM To: [EMAIL PROTECTED]; =?iso-8859-1?Q?M=EB=F2v=20=EE=89=E7=EE=CE=20=F2sy=EFn?[EMAIL PROTECTED] Subject: [PHP] Re: PHP-JavaScript Would it be possible to have javascript insert a hidden input tag in the html and then php could pick it up? Just an idea, Andy Mëòv î?çîÎ òsyïn wrote: >

[PHP] Re: PHP-JavaScript

2002-01-20 Thread Andrew V. Romero
Would it be possible to have javascript insert a hidden input tag in the html and then php could pick it up? Just an idea, Andy Mëòv î‰çîÎ òsyïn wrote: > Is it posible to get values from javascript to PHP? Without having to post > the variables.. > > Thanks //Mårten > > _