As the message says: "Also scripts must be parsable (syntactically
correct)".
You have a variable named Terça00, which is not a valid variable name. You
can see an error message for that inside the *Console*
panel<https://getfirebug.com/wiki/index.php/Console_Panel>
.
Sebastian
On Friday, May 24, 2013 8:09:11 PM UTC+2, Ruben Garcia wrote:
>
> Hi there, i have been some problems with firebug i dont know what's happen
> but firebug just dont read my javascript page and repit this error:If
> <script> tags have a "type" attribute, it should equal "text/javascript" or
> "application/javascript". Also scripts must be parsable (syntactically
> correct).
>
> javascript:
> window.onload=init;
>
>
>
> var lista= new Array();
> function init(){
> var Segunda00,Terça00,Quarta00,Quinta00,Sexta00,Sabado00,Domingo00;
> document.getElementById("Segunda00").onchange? Segunda00 =
> ValorSegunda00:lista[0] = "Nada Marcado";
> }
>
> function ValorSegunda00(){
>
> lista[0] = Segunda00.value;
> }
>
>
> Html:
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> <title>Untitled Document</title>
> <script type="text/javascript" src="Agenda.js"></script>
> <style>
> table.tabela{font-family:
> verdana,arial,sans-serif;font-size:11px;color:#333333;border-width:
> 1px;border-color: #CBDDDE;border-collapse: collapse;position:absolute;
> top:100px;}
>
> table.tabela tr{border-width: 1px;border-style: solid;border-color:
> #CBDDDE;width:152px;height:46px;}
> table.tabela td {border-width: 1px;border-style: solid;border-color:
> #CBDDDE;width:152px;background-color:#999}
> input{width:150px; height:40px;}
>
> </style>
>
>
> </head>
>
> <body>
> <form action="AgendaPHP.php" method="POST" id="form1">
> <table class="tabela">
> <tr>
> <td>00:00</td>
> <td><input border="0" type="text" id="Segunda00" onfocus = "" /></td>
> </tr>
> </table>
> </form>
> </body>
> </html>
>
> I know that the code works because he all ready did. But both browsers:
> chrome and mozilla dont compute the code.
>
--
--
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug
---
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.