![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
Am having difficulty creating a dynamic <select> element using direct assignment to the element's option array (ie. someElement.option[i]=new Option(someText, someValue) thatwill work on Palm devices runing Blazer 3.0 or Web Browser 2.0. |
|
The browsers SEEM to be JavaScript1.1+ capable |
|
and the script that I have works on every desktop-based browser, but not the PDA ones.... |
|
Any advice? Or is this a known deficiency? |
#3
| ||||
| ||||
|
|
Craig Jurney wrote: Am having difficulty creating a dynamic <select> element using direct assignment to the element's option array (ie. someElement.option[i]=new Option(someText, someValue) thatwill work on Palm devices runing Blazer 3.0 or Web Browser 2.0. Web Browser 2.0 has no - Option - constructor (and no other mechanism for creating options dynamically). |
|
The browsers SEEM to be JavaScript1.1+ capable Web Browser 2.0 is (mostly) ECMA 262 3rd edition in its javascript implementation, but its (W3C Level 1) DOM is not that dynamic. |
|
and the script that I have works on every desktop-based browser, but not the PDA ones.... That is extremely unlikely to be true, there are a lot of desktop browsers. Generally no script can be expected to work on every browser, which is why designing for clean degradation is necessary in a public environment. |
|
Any advice? Or is this a known deficiency? Don't expect scripts to successfully execute in all script capable browsers, and design with that in mind. |
#4
| |||
| |||
|
|
Richard Cornford wrote: snip Web Browser 2.0 is (mostly) ECMA 262 3rd edition in its javascript implementation, but its (W3C Level 1) DOM is not that dynamic. Is there a resource online somewhere that would tell me what scripting capabilities this (or other) browsers have? Or is experimentation the only way find out this info (or asking others like this list)? |
|
That is extremely unlikely to be true, there are a lot of desktop browsers. ... snip I meant to say "every desktop browser that this project must support" sorry about that slip, fried brain at EOD. : ) snip |
![]() |
| Thread Tools | |
| Display Modes | |
| |