Thursday, September 25, 2008

RE: [php-objects] Javascript + php problem

Obviously that's not the problem... that was just the cut of the code to
paste it here

------------------------------------
Hey Jean,

It looks like the only thing wrong with the PHP is that you're
missing the opening <?php

Did you test the JavaScript without the PHP call? It looks like if
you're experiencing an issue that's probably where's it's at.
--
Joe

On Sep 25, 2008, at 12:20 PM, Jean Carlo wrote:

> Hi dear all!
>
> I want to after I make an if(.) if it's true call a javascript
> function, but it doesn't work, here is the code
>
> if ( ($this_user == $my_user)&&($this_pass == $my_pass) ){?>
>
> <script type="text/javascript">
>
> // Not work from here
>
> document.send.int_amount.readonly = false;
>
> display(0); // Function in javascript
>
> // To here
>
> </script>
>
> <?php } ?>
>
> Any idea how can make this work?
>
> [Non-text portions of this message have been removed]
>
>
>

[Non-text portions of this message have been removed]


------------------------------------

Are you looking for a PHP job? Join the PHP Professionals directory Now!
http://www.phpclasses.org/professionals/Yahoo! Groups Links

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.7.2/1690 - Release Date: 9/25/2008
7:05 AM


------------------------------------

Are you looking for a PHP job? Join the PHP Professionals directory Now!
http://www.phpclasses.org/professionals/Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-objects/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/php-objects/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:php-objects-digest@yahoogroups.com
mailto:php-objects-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
php-objects-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

No comments: