if (opcao==certa){

> Please about Javascript
> Why the function certo() is executed in the following example.
> 
> <SCRIPT LANGUAGE="Javascript">
> <!-- Beginning of JavaScript -
> function verifica(opcao,certa){
>  
> opcao="batatas"
>  certa="cebolas" 
>  if (opcao=certa){
>   Certo()
>  } else
>   {
>   Errado()
>  }
> }
> // - End of JavaScript - -->
> </SCRIPT>


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to