|
Posted by Jonathan N. Little on 01/18/07 16:43
aa wrote:
> "Toby Inkster" <usenet200701@tobyinkster.co.uk>
>> Indeed -- and that is a nicity. It's possible to combine server and client
>> side scripts in such a way that the function is calculated at client side
>> when possible, and if this fails will fall back to a server side routine.
>
> I am confused. Earlier someone said that JS should only be used for nicities
> which might not be available without loosing functionality
> what sort of calculation a function is going to do? Some time ago I used JS
> to calculate and recalculate the sum of the PO (just to prevent a possible
> outcry from html-for-every-possible-DIYbrowser purists, the site was selling
> office luxtury items and the research indicated that 96% were executives fro
> selling departnebts with IF and Netscape, so the decision was made to go for
> JS and nobody regreted this thereafter)
> You do not mean such functions, I guess?
>
If the PO (I'm assuming means Purchase Order here) calculates the total
for the order solely by JavaScript without any verification and
recalculation server-side then it is a *seriously* flawed deployment!
Man, a hacker could have a field day with that form!
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|