| Author |
Re: CSS and/or JS questions
|
|
| onetitfemme 2006-04-30, 10:48 pm |
| > > The form element I need only in order to format the pop up and to use
[color=darkred]
> Then create the form dynamically as well.
> myForm = document.createElement('form')
..
You know when I code JS I expect for things not to work ;-). I wonder
how cross browser these (to me) naively looking statements are. (new
Option(...)) statements are DOM 0 so they will probably work flawlessly
in all browsers, but I wonder if the same applies to check boxes and
radio buttons.
..
[color=darkred]
> radioInput = document.createElement('input')
> radioInput.type = "radio"
..
Thanks and let me test this in all browsers I need to test this web
app.
..
onetitfemme
| |
| Randy Webb 2006-04-30, 10:48 pm |
| onetitfemme said the following on 4/30/2006 7:13 PM:
>
>
> ..
> You know when I code JS I expect for things not to work ;-). I wonder
> how cross browser these (to me) naively looking statements are. (new
> Option(...)) statements are DOM 0 so they will probably work flawlessly
> in all browsers, but I wonder if the same applies to check boxes and
> radio buttons.
ISTR a browser that had problems with new Option. I don't remember the
browser and I don't remember the problem to be honest. But, if a browser
doesn't support createElement then it is sufficiently broken/old enough
not to worry with it.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |