Alright... I have tested the script in FireFox, IE6, IE7, Opera,
Konqueror and Safari. Safari and Konqueror both complained about the
upper case "RADIO" type attributes. Once fixed, however, everything
worked fine:
<tbody id='radios'>
<tr>
<td><input type='radio' name='option1' value='yes' />Yes</td>
<td><input type='radio' name='option1' value='no' />No</td>
</tr>
<tr>
<td><input type='radio' name='option2' value='yes' />Yes</td>
<td><input type='radio' name='option2' value='no' />No</td>
</tr>
<tr>
<td><input type='radio' name='option3' value='yes' />Yes</td>
<td><input type='radio' name='option3' value='no' />No</td>
</tr>
</tbody>
On Jan 31, 7:41 am, kodiacat <[EMAIL PROTECTED]> wrote:
> Thank you soo much!! I really appreciate you explaining it, and
> providing the test example. :)
> I took the example you provided as is, and placed it in a test file,
> and then tested it in safari 3.0.4, Firefox 2.0.0.11, Camino 1.5.1,
> and IE 6.0. 1. am using Prototype1.6.0.2. Everything works great,
> except for Safari..I am getting this in my javascript debug console:
> Syntaxerror: Parse error
> and then The file path for my prototype.js file
> and nothing happens when I click on the radio buttons. I did some
> searching for prototype bugs in safari on google, and I found the
> following:http://dev.rubyonrails.org/ticket/10123
> I didn't know if this was related, but just in case, I downloaded the
> test case, and tried tested it in my browser, and everything seemed to
> work as expected.
> Do you have any ideas about why it isn't working in Safari? If there
> is a workaround, or another way I can do this if this is a bug?
> Thank you very much for all your help.
> I really appreciate it.
> ~Becca
> On Jan 30, 7:47 pm, Walter Lee Davis <[EMAIL PROTECTED]> wrote:
>
> > <http://en.wikipedia.org/wiki/%3F:>
>
> > (The link didn't work properly in Mail, just showed a page about the
> > history of the Question Mark)
>
> > Great article. Needs some references according to Wikipedia, but a
> > nice write-up!
>
> > Walter
>
> > On Jan 30, 2008, at 6:31 PM, Nycto wrote:
>
> > > This is what is called a ternary operator. It is basically a short-
> > > hand if/else statement. More info about it can be found here:
> > >http://en.wikipedia.org/wiki/%3F:
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" 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
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---