Use the radio buttons in web page, PHP Web Programming

Assignment Help:

<HTML>

<HEAD>

<TITLE> Working with Radio Buttons </TITLE>

<SCRIPT LANGUAGE="JavaScript">

function calculate(form)

{

if(form.elements[2].checked)

{

}

else

{

form.result.value = form.entry.value * form.entry.value;

form.result.value = form.entry.value * 2;

}

 

}

</SCRIPT>

</HEAD>

<BODY>

<FORM >

<CENTER><BR>

<B>Value:</B>

<INPUT  TYPE="text"  NAME="entry"  VALUE=0>

<BR><BR>

<SPACER Size= 190>

<B>Action:<B><BR>

<SPACER Size = 225>

<INPUT TYPE="radio" NAME="action1" VALUE="twice" onClick="calculate (this.form);">Double<BR>

<SPACER Size = 225>

<INPUT TYPE="radio" NAME="action1"  VALUE="square" onClick="calculate(this.form);">Square <BR><BR>

<B>Result:</B>

<INPUT TYPE=text NAME="result" onFocus = "this.blur();">

</CENTER>

</FORM>

 </BODY>

</HTML>


Related Discussions:- Use the radio buttons in web page

Support with custom wordpress theme, Support With Custom Wordpress Theme ...

Support With Custom Wordpress Theme I am seeking someone to help me customize a WordPress theme. I will design the theme and I am looking for someone to code it for me. Desir

Need help in internet marketing software project needed, Need help in Inter...

Need help in Internet marketing software project needed I want a internet marketing software, bot, app created asap I have over 60 software that I have researched I want some

Develop a new magento site, As we are establishing a new Magento site with ...

As we are establishing a new Magento site with several large extensions involved, this job is to resolve the various unexpected issues that can occur during set up and testing. As

Need help for social network project, Need help for Social Network Project ...

Need help for Social Network Project - Back-End Development We are employed on Social Network project we expect to release soon. This project will be released in Application

Add layout cell, Next insert a layout cell for the Learn More regarding gra...

Next insert a layout cell for the Learn More regarding graphic. 1. In the Objects panel, click on the Draw Layout Cell icon. 2. In the Document window, draw new cell within t

Fix errors on website afterward migration from drupal, Fix errors on websit...

Fix errors on website afterward migration from Drupal to Wordpress Stuff to be fixed: a) A lot of attachments from Abahlali.org on Drupal did not carry over during the Wordpr

Web programming amazon dropshipping website, Web Programming Amazon Dropshi...

Web Programming Amazon Dropshipping Website for use with Bitcoins We are looking for web developers to help us with the creation of a dropshipping website that will interface wi

We need help in casino site - bitcoin payment, We need help in Casino site ...

We need help in Casino site - Bitcoin payment Need a ready solution to launch a casino site which accepts crypto currencies. I want it urgently and would be interested in hearin

Want wordpress installed on a website, Want wordpress installed on a websit...

Want wordpress installed on a website I have a fresh website that was created in HTML, however I need wordpress CMS installed so that I can make changes and add content easily.

Seeking a rock star front end developer, We are a social technology establi...

We are a social technology establish led by two pioneers in the social technology business in Los Angeles. There are three developers presently working on our project on a stock an

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd