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 the
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;
input
[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;
input type=checkbox name=list37[] value=7 /
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
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 doesnt
Could you not use an id for the object as well as a name?
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
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.
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
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
[EMAIL
in fooa.php for each textfield
?
if (!empty($field1)) $value=$value;
else $value=;
?
input type=text name=textfield value=?echo $value;?
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
sorry the correct code is:
in fooa.php for each textfield
?
if (!empty($field1)) $value=$field1;
^^^
else $value=;
?
input type=text name=textfield value=?echo $value;?
so, when you come back from foob.php if a $field !empty the respective
textfiel will
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 quite sure
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
: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
15 matches
Mail list logo