function swap(cakeCost) {
var newCost = cakeCost.toFixed(2);
document.almond.amount.value = newCost;
}
Here is my drop down script:
<option value="Name" onclick="swap( 40.00 )">Name</option>
Any assistance is greatly appreciated- thank you.
Ok- I know of the function...
function submitform() {document.myform.submit();}
however- for this to work- I have to name my forms- also- if I want to use it multiple times on the same page- each funtion name must be unique.
Is there a way to replace a submit button with javascript without having to uniquely name each function- or name my forms? I m just looking for a link replacement for the submit button. So- a submit button just sits at the end of the form and submits it s data- can I just replace it with a link- no extra stuff except one function at the top of the screen?
Also- the form s method is POST- not GET. Also- the action is $PHP_SELF; though- if you give me an ideal answer- the JavaScript won t even worry about the action.
I am trying to watch this youtube video but it says "Hello- you either have JavaScript turned off or an old version of Adobe s Flash Player. Get the latest Flash player". I download the new javascript and it still doesnt work. I heard it has something to do with activex or something.Also when I go on other login usernames on my dell laptop it works fine- but on mine- it doesnt. Please Help!!!
PS: I am not the admin of my computer but i can login as admin cuz i know the password.
it saids this evrytime i try to watch a video and i have installed adobe flassplayer the lastest veriosn and java how do i turn on java please help and thanks p.s is there another website that is just ike youtube
I m teaching myself web develpment tools. I feel I have a pretty good handle on HTML and CSS- now I m working on JavaScript. I haven t done much with what I know though- because everything that I can think to do requires either PHP or Flash or both. So- I m trying to get an idea of the coolest stuff that can be done with just HTML and CSS. Does anyone know some good examples- or you can just tell me. Thanks.
I m trying to create a javascript function that will popup a new window with a dynamic url passed via a parameter. I ve got the basics all set in place- but for some reason- i m erroring out when I click on the link that is to send the dynamic url to the function.
Here s what i have so far:
http://slexy.org/view/s21UeXVTXJ
I believe it s crashing at line 4 at "sURL"
No comments:
Post a Comment