getElementByID()
On Wed, February 15, 2006 4:10 pm, Sugrue, Sean wrote:
> To all,
>
> I have a check box input which I assign an array to the name. I want
> to
> pass the array to a javascript and based on a certain criteria check
> the box. I use the syntax:
> formname.elements['array[]'][index
On Wed, Feb 15, 2006 at 05:10:53PM -0500, Sugrue, Sean wrote:
> To all,
>
> I have a check box input which I assign an array to the name. I want to
> pass the array to a javascript and based on a certain criteria check
> the box. I use the syntax: formname.elements['array[]'][index].checked=
> tru
To all,
I have a check box input which I assign an array to the name. I want to
pass the array to a javascript and based on a certain criteria check
the box. I use the syntax: formname.elements['array[]'][index].checked=
true. It works with IE but since my buddy added an html validator
to a config
> I am just learning php, and am currently converting some jsp pages to php.
> I used the follwing code in jsp to toggle between two images
Instead of driving yourself nuts with echo and quote and backslash and
semi-colon quote semi-colon, just do like this:
>
> function toggle(imagename,src1,
Hi,
I am just learning php, and am currently converting some jsp pages to php.
I used the follwing code in jsp to toggle between two images
function toggle(imagename,src1,src2){
if(document.images && document.images[imagename])
{
image1=new Image;
[snip]
I want to set focus on a text area with javascript if the entry by the
user
is not what I want.
if (isset($submitted){
if(empty($name)) {
$fname_error = " *Please Enter your firstname or initial";
//the code to set focus to the textbox should go here
}
[/snip]
if(empty($name)) {
$fname_e
Ross Hulford wrote:
PHP == Server Side
HTML/JavaScript == Client Side
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I want to set focus on a text area with javascript if the entry by the user
is not what I want.
This is what i have so far.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in your_php_file.php, try
"select * from somedatabase where field=$id"
"Mike Knittel" <[EMAIL PROTECTED]>
11/20/2003 11:45 PM
To: [EMAIL PROTECTED]
cc:
Subject:[PHP] Using JavaScript variables in PHP
How does one g
Mike Knittel wrote:
How does one go about using a JavaScript variable with PHP code. I have a
function in JavaScript that takes a single input parameter (ID). I want to
use this ID variable as the value on the where clause of a database query.
Example: "select * from somedatabase where field=ID"
>How does one go about using a JavaScript variable with PHP code. I have
>a function in JavaScript that takes a single input parameter (ID). I
>want to use this ID variable as the value on the where clause of a
>database query.
>
>Example: "select * from somedatabase where field=ID"
>
>Can this
How does one go about using a JavaScript variable with PHP code. I have a
function in JavaScript that takes a single input parameter (ID). I want to
use this ID variable as the value on the where clause of a database query.
Example: "select * from somedatabase where field=ID"
Can this be done,
Hello Uma,
Monday, July 22, 2002, 8:09:44 AM, you wrote:
UST> Hello,
UST> I need to display a value on the text box during onClick event where the
UST> data is fetched from the database..I have given the code like this but it
UST> is giving unterminated string constant..
UST> ");
UST> Can
Hello,
I need to display a value on the text box during onClick event where the
data is fetched from the database..I have given the code like this but it
is giving unterminated string constant..
");
Can anyone please tell me how to solve this ...
Thanks & Regards,
Uma
--
PHP General M
14 matches
Mail list logo