hi,
I'm going to build an web-app but it will need alot of JS code..
here some of functionalities I need :
- autoupdated listboxes which have relation i.e. category->subcategory.
I'm thinking which approcach to take in the past I generated js arrays
and on selection of category I updated subcategory listbox (filling
from array), it is very clumsy approach ! other ideas ?
- 'cause I will have some calculations. I have two options to make js
code do the calculation, plus server side script to do the same
calculation before enter it into the database and the second choice is
to have only server side (preffer this) and js to do request for
calculaton, but the thing i have not figured out is how to do it in a
way so that I do not update the whole HTML page but do it within and
update only some parts of the page.
- what to choose to use 3 frames or one HTML page with dhtml-code for
updates. I know this is tricky! with all inter-frame communication. The
other tricky part is how to this in browser neutral way ?
My main targets are FireFox & Opera, but IE compatability will be good
too.
Do u have any links with some implementation ?
I was thinking of using mozilla XUL (havent read datails) it seems this
will solve many of my problems. But XUL is not supported by Opera?
Any ideas and links are welcome...
tia for your time ..
PS. I need some good JS reference in a way it was made for Netscape 3.0
it was great document.. The thing i find very frustrating about all
docs I find is that there is no good ala-DOM ref with every propreties
and method applied to it plus a hierarcy of all the objects. 50% of my
time goes to find how to access some elements say f.e. forms object,
which one is right:
- documents.formN ame.inputboxNam e.method
- formName.inputb oxName.method
- documents.forms[0].element[3].method
- forms[0].inputboxName.m ethod
...fill all other permutaions ? until i catch the right one I fiddle
alot with error-js-console.
It seems that all has to be correct, but it is not.
oopsi it become too long PS. :")
I'm going to build an web-app but it will need alot of JS code..
here some of functionalities I need :
- autoupdated listboxes which have relation i.e. category->subcategory.
I'm thinking which approcach to take in the past I generated js arrays
and on selection of category I updated subcategory listbox (filling
from array), it is very clumsy approach ! other ideas ?
- 'cause I will have some calculations. I have two options to make js
code do the calculation, plus server side script to do the same
calculation before enter it into the database and the second choice is
to have only server side (preffer this) and js to do request for
calculaton, but the thing i have not figured out is how to do it in a
way so that I do not update the whole HTML page but do it within and
update only some parts of the page.
- what to choose to use 3 frames or one HTML page with dhtml-code for
updates. I know this is tricky! with all inter-frame communication. The
other tricky part is how to this in browser neutral way ?
My main targets are FireFox & Opera, but IE compatability will be good
too.
Do u have any links with some implementation ?
I was thinking of using mozilla XUL (havent read datails) it seems this
will solve many of my problems. But XUL is not supported by Opera?
Any ideas and links are welcome...
tia for your time ..
PS. I need some good JS reference in a way it was made for Netscape 3.0
it was great document.. The thing i find very frustrating about all
docs I find is that there is no good ala-DOM ref with every propreties
and method applied to it plus a hierarcy of all the objects. 50% of my
time goes to find how to access some elements say f.e. forms object,
which one is right:
- documents.formN ame.inputboxNam e.method
- formName.inputb oxName.method
- documents.forms[0].element[3].method
- forms[0].inputboxName.m ethod
...fill all other permutaions ? until i catch the right one I fiddle
alot with error-js-console.
It seems that all has to be correct, but it is not.
oopsi it become too long PS. :")
Comment