Agreed. I tend to use the Number function, i.e. var n1 = Number (document.add_test.v1.value); Seems inherently "nicer" than subtracting zero or even using ...
... Well, there are even nicer ways to do it. Let me quote ECMA-262 3ed: ~~~~<@>~~~~ 11.4.6 Unary + Operator The unary + operator converts its operand to...
Interesting. That one's not in the (fairly old) JavaScript reference I have. My personal opinion, though, is that the + operator is already overburdened ...
Thanks again. Ain't it fun to learn yet another language/syntax! If I had a nickel for every language/syntax I was semi-fluent in I would have a couple of...
Best yet, imho. Still marginally falls in the "trick" category but I can live with it. Frankly, typing is a convenient property of a language but it leads to...
Why not just using the simple parseFloat() ? var nx=parseFloat(document.add_test.v1.value); That's the most typical way to turn a string into a number (PS all ...
I would like some dhtml help. I want offer 3 radio buttons that would control a dynamic area of text on the screen according to which radio button they chose. ...
You toggle visibility of the layer. Use my brief function on http://www.unitedscripters.com/scripts/miscella4.html which is named collapseShow() For your...
One thing that drives me nuts about PayPal is that the session times out really quickly if you are idle. As long as you are doing something you can stay logged...
Hi, I would really appreciate advise on reliable hosting for a 10 Mo website. Many thanks...
laurence
ldweb@...
Jun 4, 2004 1:46 pm
20045
Here is the issue. I am developing a client-server app on a Linux platform (Mozilla 1.0.1/Apache/PHP/MySQL/HTML/Javascript). The target platform is WinXP/IE...
Chuck, ... if you use <input type="submit" value="foo label" /> the form will post with the value of the submit button that was clicked. If some javascript...
Hi , Thanks for the info. Please find attached my resume. Regards, Iresh 9892779737 ... __________________________________ Do you Yahoo!? Friends. Fun. Try...
hello there, i m student of MCA last sem and have some problem, i have my s/w on the net but now i dont want the user to install the s/w on his pc but he can...
Hi Nimisha, Why dont u edit the form code so that u can keep only open button. Please remove the code from the child window where it will be written <input...
I need to send a hidden element in a form, however, I need the value to be obtained from a text box in another form. Is this possible? Currently I am trying...
Thanks guys for your reply, but I was able to resolve the issue. (Tested on client's pc yesterday.) The problem is actually one of browser behaviour and...
... If you're trying to learn JavaScript by reading about Java, you're in for more than a headache -- one has nothing to do with the other :-) However, ... If...
Bob, replace the space with an underscore (or just remove it) from the window ... that argument is an object reference to the window you're creating - spaces ...
Actually the page is changing so fast as I try to get the damn thing to work that it is difficult to show what I am doing. And no, I am only using "name"...
Hallo you can't that way. You have to issue the command by an event handler. When your data must be switched adn the field be populated with the value drawn...
... Ahhhh... thank you, Carlos. Oddly enough, Mozilla doesn't seem to have a problem with the space, and the javascript works as advertised in that browser....
Hi, I can't remember the exact lign of code one can use in order to redirect a site to another url. Many thanks in advance...
laurence
ldweb@...
Jun 9, 2004 10:04 pm
20062
Try: document.location.href = "http://www.someplace.com"; Mark laurence <ldweb@...> wrote: Hi, I can't remember the exact lign of code one can use in...
How to do that by javascript they already told you, if you want to do that by html: <meta http-equiv="refresh" content="5;url=https://www.yoururl.xyz"> the...