Javascript + php problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux