473,320 Members | 1,695 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Problem creating dynamic selection lists on PDA

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);)
that will 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?

Thanks,
/Craig Jurney, Stanford University
Jul 23 '05 #1
3 1578
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);) that
will 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.

Richard.
Jul 23 '05 #2
Richard Cornford wrote:
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);) that
will 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).


Ah, that explains it then.
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.


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)?
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.


I meant to say "every desktop browser that this project must support"
sorry about that slip, fried brain at EOD. : )
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.


'Swhat I'm trying to do.

Thanks for the quick reply.

Jul 23 '05 #3
Craig Jurney wrote:
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)?


I have a specification document for Web Browser 2.0 that I downloaded
some years ago (I don't recall the URL) but it is not that useful, just
a list of the interfaces and standards 'supported'. Experimentation is
invariably the best way of finding out what a browser really is capable
of (and often exposes undocumented features).

Unfortunately, for smaller, embedded, browser there does not appear to
be much documentation available in general. It often isn't even possible
to work out which browser any particular embedded browser really is. Web
Browser 2.0, for example, is really NetFront 4.

<snip>
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>

If you intend to support PDA browsers then you are already in the area
where thinking in terms of particular set of Known browsers is
impractical. There are more PDA/embedded browsers than desktop browsers,
and their capabilities are much more varied.

Richard.
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Doo-Dah Man | last post by:
I hope I can make this clear: I have an Access 2000 database that drives an ASP web site to track sales leads. There is a combo box , "units", that lists the inventory of models we sell. ...
0
by: starace | last post by:
I have designed a form that has 5 different list boxes where the selections within each are used as criteria in building a dynamic query. Some boxes are set for multiple selections but these list...
1
by: Dmitri Shvetsov | last post by:
Hi All, Is it possible at all, and if yes, then how? Or it's very/extremely hard to do that? Maybe somebody knows...) I'm writing a Web App using VS2003/C#/MSSQL. I'm currently having about...
6
by: Robin Bonin | last post by:
In my user contol I am creating a set of dropdownlists. Each list is created based on input from the other lists. The problem I am having is setting the selected index on the lists. If someone...
1
by: pbb | last post by:
I'm creating a set of dynamic controls on a webpage by calling my BuildControls sub in the Page_Init sub. I recreate the controls by calling the BuildControls sub in the LoadViewState override...
0
by: Paul Say | last post by:
Problem: I have a custom class called Job and a custom collection called JobsCollection. I currently display the collection on a web page via a datagrid, and I have a dropdown list that...
4
by: Larry Grady | last post by:
Anyone up for a challenge? I've been struggling with this for a few days and was hoping someone could help me. Pouring through all the messageboards I just can't find the solution. We have a...
1
by: koia | last post by:
Hi, I have a problem with adding attributes to a Line in an Excel drawing using the Python win32com interface. From recording in Excel I get the Macro: Sub Makro1()...
58
by: bonneylake | last post by:
Hey Everyone, Well recently i been inserting multiple fields for a section in my form called "serial". Well now i am trying to insert multiple fields for the not only the serial section but also...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.