Posts

Showing posts from February, 2011

Rajnikanth ki jay

Image
  Rajnikanth Jokes, Fun funny jokes, funny pictures

Happy Valentine 2011- best postal card

Image
Valentines HAPPY VALENTINES DAY valentines gifts, valentine’s day, printable valentines, valentine poetry, valentine poems, valentine cards, valentine flowers, last minute valentine gifts, valentine gifts, valentines movies, valentine, valentine theme ipod, valentine e-cards, funny valentine poems, faye valentine, bullet for my valentine, valentine wallpapers, angelina valentine, valentine gift ideas, valentine ecards, love poems for valentine’s day, valentine hearts, valentine graphics, claudia valentine, valentine’s day poems, silly poems valentines, valentine poems for children, short valentines poems, valentine clipart, valentines day gifts, printable valentine cards for kids, stacy valentine, cute valentine poems, free animated valentine cards, valentine ideas, valentines day ideas for boyfriend, valentines day jokes poems, valentines day facts, valentine coloring pages, printable valentine cards, valentine heart clipart, valentines, top ten valentines gifts, free

discount giving form in javascript code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script language="javascript" type="text/javascript"> function calculate(){ var cost=0; var discount=0; var total_cost=0; var flight=0; for (i=0;i<document.forms[0].a.length;i++) { if (document.forms[0].a[i].checked) { cost = document.forms[0].a[i].value; } } for (i=0;i<document.forms[0].b.length;i++) { if (document.forms[0].b[i].checked) { discount = document.forms[0].b[i].value; } } if (document.forms[0].c.checked==true) { flight = document.forms[0].c.value; } var total_cost=parseInt(cost)-parseInt(discount*cost/100)+parseInt(flight); alert(co

Javascript

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script language="javascript" type="text/javascript"> function calculate(){ var cost=0; var discount=0; var total_cost=0; var flight=0; for (i=0;i<document.forms[0].a.length;i++) { if (document.forms[0].a[i].checked) { cost = document.forms[0].a[i].value; } } for (i=0;i<document.forms[0].b.length;i++) { if (document.forms[0].b[i].checked) { discount = document.forms[0].b[i].value; } } if (document.forms[0].c.checked==true) { flight = document.forms[0].c.value; } var total_cost=parseInt(cost)+parseInt(discount*cost/100)+parseInt(flight); alert(cost+discount+flight+total_cost); } </script>

Uses of javascript with the radio button and check box

Untitled Document asdf ajsdfkj tea asdf asdfasdf ewrer ertyer kjhgk ghjk ghjk cost 400